I wish that were an option… I cant really pass the entire query string back to PHP since there are a bunch of other conditions that the site needs to handle… Like say an ajax call…
PLUS I’ve spent so much time on this that I’d really feel a sense of defeat to give up
You don’t need to exclude the slash, you need to make a different pattern all together.
I’ll say it in words, you make the regex okay?
Match any character one or more times, then match a comma, then match any character one or more times, then optionally match a slash, and match all that one or more times
If you’ll check Tim Berners-Lee, et al’s geeky (BNF) description of Uniform Resource Identifiers (URI): Generic Syntax at http://www.ietf.org/rfc/rfc2396.txt, you’ll see (under section 2.2, Reserved Characters) that the comma is a Reserved Character and, thus, should not be used in a URL (at least not without special handling).
I’ve used this scheme for urls for quite a few years on commercial apps without incident and have also seen quite a few other commercial sites with the same. I’m not saying you aren’t technically correct but I’m yet to see where it does actually cause a problem. I’d love to see a situation where it would cause an issue.