Welcome Guest, Not a member yet? Register   Sign In
permitted_uri_chars with slash
#3

encodeURIComponent("Collinsfield street 5/a") will give "Collinsfield%20street%205%2Fa", which should be valid.
But since '/' is an URI separator, maybe it cause confusion even if you use encodeURIComponent() to translate it to "%2F".

My guess is CodeIgniter convert it back to / and look for a route that doesn't exists. You should probably use '-' instead of '/' to avoid this.
Reply


Messages In This Thread
permitted_uri_chars with slash - by vekamizu - 11-22-2020, 11:50 PM
RE: permitted_uri_chars with slash - by php_rocs - 11-23-2020, 12:40 PM
RE: permitted_uri_chars with slash - by includebeer - 11-25-2020, 05:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB