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

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

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w30_MDL-34396_m24_loginhttpsspell

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Sep/12