mardi 3 mars 2015

How to pass a string with # in url?

I have a user with name "k#arn". While passing that user through url it's taking only k.



"/users/auto_complete/?user_input=" + "k#arn"


above code is taking "k" as user name. Is there any way to escape # and pass the whole name ("k#arn") in the url?


Aucun commentaire:

Enregistrer un commentaire