nginx-sorted-querystring-module icon indicating copy to clipboard operation
nginx-sorted-querystring-module copied to clipboard

Possible to blacklist all, whitelist some query parameters?

Open lkraav opened this issue 9 years ago • 1 comments

Hey. If query parameters are able to cause some heavy work on the server, and we'd only like to allow a certain set of parameters through for caching, is this module able to perform full blacklisting?

It feels like I'd want

sorted_querystring_filter_parameter *;

with

sorted_querystring_filter_allow_parameter utm_*;

Your thoughts?

cc @pawelkmpt

lkraav avatar Sep 12 '16 08:09 lkraav

Or perhaps this module can do the sorting, and the rest can be achieved by http://stackoverflow.com/questions/26613147/remove-specific-query-parameters-from-url-in-nginx

lkraav avatar Sep 12 '16 08:09 lkraav