My regex works when doing things like foo/bar
and one with spaces/two with spaces/three with spaces/four with spaces
etc, but it directs to the 404 page when using urlencode
in PHP.
The following test shows that encoded strings don't work in the URL: http://regex101.com/r/jP0gW1
Anyone have any ideas? It also breaks when using the "+" character.