api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

[APIM-2.6.0] Can Not Include Parenthesis in API Uris

Open Abshan opened this issue 1 year ago • 0 comments

Description

In APIM-2.6.0, when we include parenthesis in API URIs,

Requests: https://localhost:8243/pizzashack/1.0.0/menu/sample value (version)

The invocation fails with the following error message,

<am:fault xmlns:am="http://wso2.org/apimanager">
    <am:code>404</am:code>
    <am:type>Status report</am:type>
    <am:message>Runtime Error</am:message>
    <am:description>No matching resource found for given API Request</am:description>
</am:fault>

This has been already fixed in newer APIM versions [1]. Hence, can we back port the same to the APIM-2.6.0 version as well?

[1] https://github.com/wso2/api-manager/issues/875

Steps to Reproduce

  1. Crete an API with a resource like this "foo/{sampleValue}"
  2. Publish the API.
  3. Invoke the resource with paranthesis in the URI parameter {sampleValue} as shown below,
https://localhost:8243/sampleapi/1.0.0/foo/sample value (version)

Affected Component

APIM

Version

2.6.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

Abshan avatar Apr 02 '24 23:04 Abshan