Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34396

TinyMCE HTML editor spell check fails on edit profile page due to https

    XMLWordPrintable

Details

    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • w30_MDL-34396_m24_loginhttpsspell
    • Hide

      1. Ensure loginhttps is enabled
      2. Edit a user profile
      3. Enter text with spelling errors into the description and click spell check button
      4. VERIFY: that the errors are highlighted

      Show
      1. Ensure loginhttps is enabled 2. Edit a user profile 3. Enter text with spelling errors into the description and click spell check button 4. VERIFY: that the errors are highlighted

    Description

      The TinyMCE spell check fails on pages that require https such as the edit profile page. This because the rpc.php Ajax request does not use httpswwwroot which causes (some?) browsers to reject the request.

      To replicate this:
      1. Ensure loginhttps is enabled
      2. Edit a user profile
      3. Enter text with spelling errors into the description and click spell check button
      4. Error should be displayed and spelling errors will not be highlighted

      This was reported and fixed in 1.9 (MDL-8592) but has since appeared again in 2.x.

      Tested using FF 13 and Chrome 19.

      Patch to add httpswwwroot will be provided in comments shortly.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              luketucker Luke Tucker
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/12