request.path bug

Not applicable

With GET /test?foo=bar the JS policy

print( request.path );
print( context.getVariable( 'request.path' ) );

gives:

/test?foo=bar (incorrect)
/test         (correct)

on-premise Version 4.15.07.00.

1 2 169
2 REPLIES 2

Thanks @Morris Brodersen, fyi @Shailendra Baxi, can you pls check?

Not applicable

you should use

print( context.getVariable('request.path'));