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"?