I am creating a WEB API in playframework 2.x, but I get a Bad Request error when the url parameter contains %.
For example, when searching with the string "20% off"...
Bad Request For request 'GET/search?q=20%E3%82%AA%E3%83%95'
[Malformed escape pair at index 12:/search?q=20%E3%82%AA%E3%83%95]
Only % is not encoded
I'd like to do url encoding, but I don't know which file to modify, so I don't know which file to modify.
Could you give me instructions?
As far as the string passed as the query string is concerned, out of 20% off, only the "off" is encoded, and the "%" character itself is not encoded, so that may be the reason for the error.
610 GDB gets version error when attempting to debug with the Presense SDK (IDE)
581 PHP ssh2_scp_send fails to send files as intended
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
617 Uncaught (inpromise) Error on Electron: An object could not be cloned
911 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.