URL based policy for *://*:*/*?* is not able to match queries containing question mark (e.g. http://example.com/foo?bar?baz), which are a valid URL.
I was able to debug policy evaluation up to SimpleReferenceTree#searchTree which is responsible for resource pattern matching. However as I am not that familiar with policy / privilege internals, I am not able to provide an easy solution or workaround (maybe such behaviour is expected?). This needs a little bit more attention than I am able to give right now.
Based on gitter question:
URL based policy for
*://*:*/*?*
is not able to match queries containing question mark (e.g.http://example.com/foo?bar?baz
), which are a valid URL.I was able to debug policy evaluation up to
SimpleReferenceTree#searchTree
which is responsible for resource pattern matching. However as I am not that familiar with policy / privilege internals, I am not able to provide an easy solution or workaround (maybe such behaviour is expected?). This needs a little bit more attention than I am able to give right now.