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

Support internationalized domain names (IDN) in URL resources

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Add a URL resource to a Moodle course.
      2. Insert a URL like

        http://www.informationssäkerhet.se


        or

        http://москва.рф/services/

        and click save.

      1. Verify the link does work.
      Show
      Add a URL resource to a Moodle course. Insert a URL like http://www.informationssäkerhet.se or http://москва.рф/services/ and click save. Verify the link does work.
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
      MDL-58413-master-take2

      Description

      URLs in Resource currently do not support internationalized domain names (IDN) (any URL that contains characters from non-Latin alphabets, such as Arabic, Chinese, Cyrillic, Tamil, Hebrew or the Latin alphabet-based characters with diacritics or ligatures, such as French or Swedish. They're stored as ASCII strings using Punycode transcription.

      regexp check is done here: mod/url/locallib.php:42

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lucaboesch Luca Bösch
              Reporter:
              pavel.m.sokolov Pavel Sokolov
              Peer reviewer:
              Shamim Rezaie
              Integrator:
              Jake Dallimore
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              cameron1729, David Mudrák (@mudrd8mz), Helen Foster, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              3 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 20 minutes
                  5h 20m