Custom search queries failure if spaces include #2462
Labels
4.3.0-alpha
4.3.0
BugFixing
Tracks the bugs to be fixed for APIM 4.3.0 release
Component/APIM
Type/Bug
Milestone
Description
After introduction of the feature PR[1] we have included this logic if the query starts with name or description then we replace all the spaces with
%20
string. This was happened to pizzashackapi default search query as well. But we have added condition to check if it is not equal to default query then only it will check the second condition.Failed sample custom query:
name:testApi version:1.0 context:testApi
[1] wso2/carbon-apimgt#12200
Steps to Reproduce
1.) Create api called testApi.
2.) Invoke this rest api
https://localhost:9443/api/am/publisher/v4/search?limit=1&offset=0&query=name%3AtestApi%20version%3A1.0%20context%3AtestApi
Affected Component
APIM
Version
APIM 4.3.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: