For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

John_Heyer_1508's avatar
John_Heyer_1508
Icon for Cirrostratus rankCirrostratus
Jan 23, 2017

Ignoring Query String parameters

Consider the following iRule statement:

set PATH2 [getfield [HTTP::uri] "/" 3]

Given the URI /path1/path2, PATH2 will be set to string "path2"

However with the URI /path1/path2?name=1, PATH2 will be set to string "path2?name=1"

Is there an easy way to ignore the "?name=1"?

1 Reply