Forum Discussion
1 Reply
Sort By
I would use [HTTP::query] to create a list (based on & as separator) and apply 'lsort'.
f5 BIG-IP 11.4.0 LTM VE
In an iRule , what is most performant way to extract a subset of HTTP:query params and alphabetize.
HTTP:query = a=1&c=3&b=2&n=1&m=3&p=2
transformed = a=1&b=2&c=3
HTTP:query can have an arbitrary number of query params
I would use [HTTP::query] to create a list (based on & as separator) and apply 'lsort'.
On the move now and no time to write and test a sample iRule.