Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

Al_7443's avatar
Al_7443
Icon for Nimbostratus rankNimbostratus
Jul 05, 2018

Parse URI parameters when parameters preceded by Hash (#) not question mark

Hi All,

 

On of our MFA apps returns a token via the URI string. Instead of starting with a ? like pretty much everything, it returns a https://myapp.net/myResponsetoken=blah&state=blah...

 

I've tried [HTTP::uri] and [HTTP::query] to no avail, any ideas how I can pull these params out?

 

1 Reply

  • Best option if you know the keys to create an array using the getfield and split commands

    array set uriParameters [split [getfield [HTTP::uri] "" 2] "=&"]
    log local0. "Token = $uriParameters(token), State = $uriParameters(state)"