1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

rules: fuzzy match: add fuzzy timestamp match on 'ts' query arg

This commit is contained in:
Ilya Kreymer 2017-10-18 10:51:49 -07:00
parent 70a09e2804
commit 9c574db7da

View File

@ -40,7 +40,7 @@ default_filters:
# remove more generic cache-busting params:
# name contains 'bust', value appears to be a timestamp
- match: '[?&](\w*bust\w*=1[\d]{12,15})(?=&|$)'
- match: '[?&](\w*(bust|ts)\w*=1[\d]{12,15})(?=&|$)'
replace: ''
rules: