Forum Discussion
dave_11182
Nimbostratus
Mar 25, 2009Bug with HTTP::path and HTTP requests that use the absolute URL in the Request-Line
I have section code that works like the following (simplified for example)
when HTTP_REQUEST {
log local0. "Path is: [HTTP::path]"
}
if i received a reque...
hoolio
Cirrostratus
Mar 26, 2009Hi Dave,
In theory HTTP::path parses the path of the URI. In actuality, I think it returns what ever is in the URI up to the first question mark. Yes, RFC2616 states you can use an absolute URL in the request line, but almost no clients do this. I think the most common scenario this is seen is with HTTP proxies.
Here is a post where we discussed some options for handling this in an iRule:
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&tpage=1&view=topic&postid=1141211444 (Click here)
So should LTM check every request to see if the request line is absolute or relative? Maybe? If you think the current behavior is broken/could be improved, you could open a case with F5 through their support group.
Aaron
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