Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use uri.gsub(' ', '+') method instead of URI.encode_www_form_components
Because raw URI.encode_www_form_components methods overescape for passed string in this case. We just need to handle URI with spaces as valid URI. TO acheive this, we just replace spaces with '+' before executing URI.parse. Signed-off-by: Hiroshi Hatake <[email protected]>
- Loading branch information