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

"Custom menu items" do not support the "?" query string character along with " target="new

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.8
    • None
    • Libraries, Themes
    • MOODLE_28_STABLE

    Description

      I am unable to create a "custom menu item" that contains a URL with the "question mark" , meaning the query string character, and forcing a new browser page with the " target="new modifier. For some odd reason, the question mark causes this form of custom menu item to not work.

      Here's an example of what does work:
      #####
      Ricks Homepage|http://www.rjerz.com" target="new

      Here is an example of what does not work:
      #####
      Ricks Moodle Videos|http://www.rjerz.com/v/rjPlayer/rjPlayer.html?crs=moodle2" target="new

      This gets translated by the browser as
      http://www.rjerz.com/v/rjPlayer/rjPlayer.html?crs=moodle2%22%20target%3D%22new

      It appears that the query character messes up the parser, substituting "%'s" instead of interpreting these.

      (see discussions on moodle.org: https://moodle.org/mod/forum/discuss.php?d=277059#p1190910)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rjerz Rick Jerz
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              10 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: