use-query-params icon indicating copy to clipboard operation
use-query-params copied to clipboard

White space value at the end of the URL causing ERROR

Open albibenni opened this issue 2 years ago • 0 comments

Hi everyone, first of all thank you very much for this library which is really helpful!

I wanted to report an issue regarding the possibility to set a white-space value (' ') as the last url paramenter. In fact if we insert the ' ' as last parameter is trimmed out and not considered. If we instead insert it not as last the library is working as intended.

We are using the Stringify to encode the url.

albibenni avatar Dec 22 '22 13:12 albibenni