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

Entering invalid URL in profile doesnt pop any error

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.1, 2.1.9, 2.3, 2.4, 3.7.5, 3.8.2
    • STABLE backlog
    • Administration
    • MOODLE_21_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
      1. Goto profile Edit page
      2. In Optional → Webpage, enter a url something like hxxp://sadasdsad
      3. Click save
      4. View your profile, the webpage field will be empty.

    Description

      While working on MDL-28483, I accidentally found this issue.
      When an invalid url is entered in the profile of an user, Moodle just discards the url and doesn't save anything. It doesn't even notify user about the error.

      Expected: An error prompt to notify user about the issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ankit_frenz Ankit Agarwal
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: