Bug with HTTP::URI?

Hi All,

We have an iRule which does some URL re-writing at the F5. We noticed that if a URL like this is passed in, the HTTP::uri does not return the proper value:

http://www.domain.com/section/proxy.php?url=http://www.google.com

You would expect that HTTP::uri return the left side of the ? operator, but it actually returns the right side. Does anyone know if there is a way to fix this?

Give this senario, query [URI::query [string tolower [HTTP::uri]]] return blank even though it should return the right side of the ? operator.

Any thought or is this a bug that needs to go to support?

Hi,

If you checked the wiki you would have seen you can use HTTP::path to have only the left part: Click here

You could definitely use the path command. If you wanted to, though, you could still use the HTTP::uri command and do a getfield or split or something to grab just the left portion.

Colin