I want to whitelist only valid URL-patterns on our RESTful webserver / API, using regexs or something. But when googling for some examples I get a little bit suspicious since there is not much documentation on that.
Is it uncommon to do this?
Seems to me it is a very essential part of any webserver script.
What am I overlooking here? :)