Forum Discussion
Joe_Pipitone
Nimbostratus
Jan 28, 2013Block appended portions of URI
We have a site in particular where we'd like to only allow a certain few strings to display our webpages, and anything after those strings gets blocked.
For example:
http://ourwebsite.com/directo...
Joe_Pipitone
Nimbostratus
Jan 29, 2013Thank you! I was close, I was using HTTP::uri, but I see now why you used path.
Would this solution allow for us to allow "something" to pass through, but block "something?whatever.aspx" - meaning, if someone doesn't specifically type "something" then they are rejected?
Ideally someone going to http://oursite.com/something would be allowed, however http://oursite.com/something?somethingelse would be rejected - this class match would consider this a rejected URI, right?
I'll do some testing on my end and see what I can come up with. Thank you again.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects