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

allow double slash in PARAM_URL parameter type

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_27_STABLE

      Description

      In a web service call a parameter defined as PARAM_URL got the following response from a similar url as shown below.

      Invalid parameter value detected: Invalid external api parameter: the value is "http://www.example.com//awesomesite", the server was expecting "url" type" 

      see http://www.w3.org/////Addressing/////URL//url-spec.txt

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              nebgor Aparup Banerjee
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: