description
encodeURIComponent
Escape addition to alphanumeric (
)
.
!
~
*
'
-
and _
all the characters except.
effect
To avoid the server receives a request unpredictable, the content of any user input as part of the URI you need to be escaped with a encodeURIComponent.