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

RFC2445_WSP defined incorrectly for Bennu iCal.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Paste the following URL into browser and verify you can see the 'Using Calendar' Moodle docs page: https://docs.moodle.org/29/en/Using_Calendar
      • Log in to Moodle as administrator
      • Click 'New event' in the Upcoming Events block
      • Give the event a title in the New event form
      • Do the following to create the event description:
      • Click the 'Show more buttons' icon in Atto
      • Click the now visible "<>" HTML button in Atto to enter plain text
      • Paste in the text below

      Test to illustrate breaking URLs https://docs.moodle.org/29/en/Using_Calendar

      • Click 'Save changes'
      • On the following Calendar page click the 'Export calendar' button
      • Choose to export 'All events' for 'This week' and click 'Export'
      • Open the downloaded file in supporting calendar application of your choice
      • Make sure the link is not broken
      Show
      Paste the following URL into browser and verify you can see the 'Using Calendar' Moodle docs page: https://docs.moodle.org/29/en/Using_Calendar Log in to Moodle as administrator Click 'New event' in the Upcoming Events block Give the event a title in the New event form Do the following to create the event description: Click the 'Show more buttons' icon in Atto Click the now visible "<>" HTML button in Atto to enter plain text Paste in the text below Test to illustrate breaking URLs https://docs.moodle.org/29/en/Using_Calendar Click 'Save changes' On the following Calendar page click the 'Export calendar' button Choose to export 'All events' for 'This week' and click 'Export' Open the downloaded file in supporting calendar application of your choice Make sure the link is not broken
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:

      Description

      RFC2445_WSP is defined in lib/bennu/iCalendar_rfc2445.php as "<HTAB><SPACE>" when it should be one or the other.

      In its current form the iCal file is causing spaces to be inserted in the middle of words and URLs for example at the other end as parsers consume the data.

      RFC2445_WSP should be defined as either only "HTAB" or "SPACE".

        Attachments

          Activity

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/15