[JIRA] (VIRTUSAGE-1) Parameter is not decode

10 views
Skip to first unread message

JIRA (on behalf of David Wei)

unread,
Sep 20, 2023, 10:40:02 PM9/20/23
to dev-...@magnolia-cms.com
David Wei created an issue
 
Virtual URI Mappings Usage (closed) / Bug VIRTUSAGE-1
Parameter is not decode
Issue Type: Bug Bug
Assignee: Unassigned
Created: 21/Sep/23 4:38 AM
Environment: Magnolia 6.2.X
Priority: Neutral Neutral
Reporter: David Wei

Steps to reproduce

 

  1.  Add a virtual uri mapping to append '.html' suffix whatever the parameter exists or not.
    class: info.magnolia.virtualuri.mapping.RegexpVirtualUriMapping
    fromUri: /search($|[?&#]$|[?&#][^/]+$)
    toUri: permanent:/search.html$1 
  1. Get parameter in freemarker 
    [#assign queryStr = ctx.getParameter('queryStr')!?] 
  1. access url: https://group-test.pingan.com/en/searchqueryStr= 9m results
  2. In step 2, the queryStr is a encoded string not original sting.

.. Logs, screenshots, gifs...

Expected results

.. Justify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

Workaround

Development notes

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v9.4.2#940002-sha1:46d1a51)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages