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

get_string and get_strings must use PARAM_RAW instead of PARAM_TEXT

    XMLWordPrintable

Details

    Description

      Currently the services get_string and get_strings use PARAM_TEXT,
      so when we use string with html tags like this : "Hello <em>Toto</em>" we got this error:

      Invalid external api response: the value is "Hello <em>Toto</em>", the server was expecting "text" type
      Error code: invalidresponse
      

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              taboubii Issam Taboubi
              David Monllaó David Monllaó
              Andrew Lyons Andrew Lyons
              Adrian Greeve Adrian Greeve
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/May/16