You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiled and tested against Varnish 4.1.3 installed from the Varnish debian repo:
If req.url is over a certain size, the filter_except method will return a broken string where parts of the url are removed or replaced by parts of the query string.
Example varnish test that fails due to the req.url size:
Thanks for reporting the bug and thank you for the test case too! However this test case passes for me, even with the latest 4.1.3.
Can you please attach the output of varnishtest -v for both the "too long" and "smaller" URLs?
Also, you may want to peek at the future of this VMOD in #23 since two of the reasons behind this change are the broken semantics of *_except functions and the filtersep function. You could also check whether your use case passes with this branch, feedback appreciated.
I closed this ticket because the related code no longer exists in 1.0, and I could never reproduce it. Please upgrade and open a new ticket if it happens again.
Compiled and tested against Varnish 4.1.3 installed from the Varnish debian repo:
If
req.url
is over a certain size, the filter_except method will return a broken string where parts of the url are removed or replaced by parts of the query string.Example varnish test that fails due to the req.url size:
If you replace the above test url with something smaller like
/item/deal/1728366?refcode=xxxxx-xxxx-xxxxxx-xxx
, the test will pass.The text was updated successfully, but these errors were encountered: