Forum Discussion

Darren_Person_2's avatar
Darren_Person_2
Icon for Nimbostratus rankNimbostratus
Aug 20, 2008

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?

2 Replies

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    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