Puli
Dec 09, 2010Nimbostratus
Problem with # in URLs
Am parsing below types of URLs in an iRule
www.abc.com/docs/example1.html re-directs to www.abc.com/newdocs/example1.html
www.abc.com/docs/example1.htmlhic re-directs to www.abc.com/newdocs/example1.html
www.abc.com/docs/example1.html?l=en re-directs to www.abc.com/newdocs/example1.html
Am using
set base [HTTP::path] to the uri and search that in a datagroup and re-directs accordingly.
Am having a problem with the second url in Firefox and chrome
when accessed www.abc.com/docs/example1.htmlhic
FF and chrome appends hic to the response in the browser address bar. IE works fine.
Any ideas how i can remove hic to not appear in Browser address bar.
I turned on logging but i cannot see hic comming in the request.
looks like browser is send only the uri part and ignoring hic and appending it to response.
How can i prevent it from doing that via an iRule.
Any tips.
Appreciate your help
Puli.