Forum Discussion
Andrew_Abplana1
Nimbostratus
Feb 29, 2008Problem with "[" in a uri string
We use a irule with findclass to do pool assignments. In on case we are seeing this uri...
https://test/app/[IMAGE_PATH]/s.gif
The "[" around IMAGE_PATHS are causing an error {invalid command name "image_path"}.
Any ideas???
- hoolio
Cirrostratus
The URI shouldn't contain non-ascii characters... the application should URI encode them to %5b and %5d in it's responses. If you manually type non-ascii characters in the address bar, the browser should (ideally) also URI encode them. What is the rule you're using where you get an error? What are you doing in the rule when you get the error? Could you encode the URI using 'HTTP::path [URI::encode [HTTP::path]]' before trying to parse it? - If you could supply the iRule in question where you are trying to access this URI. Also, how are you using the URI? If it's [HTTP::uri] then I'm not sure how the contents are mucking up another call. Again, the offending code will help us alot.
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