Kevin Minder created KNOX-599:
---------------------------------

             Summary: Template with {**} in queries are expanded with =null for 
query params without a value
                 Key: KNOX-599
                 URL: https://issues.apache.org/jira/browse/KNOX-599
             Project: Apache Knox
          Issue Type: Bug
          Components: Server
    Affects Versions: 0.6.0
            Reporter: Kevin Minder
            Assignee: Kevin Minder
             Fix For: 0.7.0


A template like this
{code}
{scheme}://{host}:{port}/{path=**}?{**}
{code}
when matched with a URI like this
{code}
http://example.com/path?flag
{code}
and expanded with the same template will result a string like this
{code}
http://hortonworks.com:8888/top/mid/bot/file?flag=null&name=value
{code}
which is incorrect.  The correct value should not contain =null and might look 
like this
{code}
http://hortonworks.com:8888/top/mid/bot/file?flag&name=value
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to