-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE
-
Fix Version/s: 6.2.X EE
-
Component/s: Web Services, Web Services > JSON WS
-
Labels:
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Steps to reproduce:
- In a vanilla installation, in your localhost go to http://localhost:8080/api/jsonws/company/get-company-by-virtual-host/virtual-host/localhost?p_auth=7vGaicGJ
- Assert that it works
- Retry using http://localhost:8080/api/jsonws/company/get-company-by-virtual-host/virtual-host/localhos?p_auth=7vGaicGJ (note that the las t of localhost has been removed)
- Assert that it fails and a message similar to this is printed in the page:
{{Unknown macro: {"message"}}}
- Go to the browser console and check the status header.
Current: Shows a 200 code
Expected: An error code
We should be careful with the changes to avoid break the current api.
The full fix for this should include LPS-68286 commits