Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10414

xwiki.getBaseSkin() does not handle the "skin" parameter in the URL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 6.1-milestone-1
    • Old Core
    • None
    • Unknown

    Description

      Try the following code:

      SandBox.WebHome
      {{velocity}}
      $xwiki.getXWiki().getBaseSkin($xcontext.context)
      {{/velocity}}
      

      It returns colibri

      Now add ?skin=flamingo in the URL.

      It still returns colibri, but it should actually be flamingo.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            gdelhumeau Guillaume Delhumeau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: