Compilation results for cp3074.esams.wmnet: System changes detected
You can retrieve this result from host.json.Catalog differences
Summary
| Total Resources: | 3945 |
|---|---|
| Resources added: | 0 |
| Resources removed: | 0 |
| Resources modified: | 2 |
| Change percentage: | 0.05% |
Resources modified
- File[/usr/share/varnish/tests/upload-frontend.inc.vcl]
- Content differences:
--- /usr/share/varnish/tests/upload-frontend.inc.vcl.orig +++ /usr/share/varnish/tests/upload-frontend.inc.vcl @@ -178,10 +178,11 @@ // Standard sizes get a lenient rate limit, non-standard sizes get a stricter one. // Since we already know this is a valid thumb URL, we only need to match the // size component from the last path segment. - if (req.url ~ "/((?:qlow-)?(?:lossy-)?(?:lossless-)?(?:page\d+-)?(?:lang[0-9a-zA-Z-]+-)?(?:20|40|60|120|250|330|500|960|1280|1920|3840)px-)[^/]+$") { - var.set_int("glb_requests_limit", 1000); - } else { - var.set_int("glb_requests_limit", 500); + if (req.url ~ "/((?:qlow-)?(?:lossy-)?(?:lossless-)?(?:page\d+-)?(?:lang[0-9a-zA-Z-]+-)?(?:20|40|60|120|250|330|500|960|1280|1920|3840)px-)[^/]+$") { + var.set_int("glb_requests_limit", 1000); + } else { + // Non-standard size is an invalid request, not a rate limit violation + return (synth(400, "Use thumbnail sizes listed on https://w.wiki/GHai")); } // Normalize end of thumbnail URL (redundant filename)
- Content differences:
- File[/etc/varnish/upload-frontend.inc.vcl]
- Content differences:
--- /etc/varnish/upload-frontend.inc.vcl.orig +++ /etc/varnish/upload-frontend.inc.vcl @@ -178,10 +178,11 @@ // Standard sizes get a lenient rate limit, non-standard sizes get a stricter one. // Since we already know this is a valid thumb URL, we only need to match the // size component from the last path segment. - if (req.url ~ "/((?:qlow-)?(?:lossy-)?(?:lossless-)?(?:page\d+-)?(?:lang[0-9a-zA-Z-]+-)?(?:20|40|60|120|250|330|500|960|1280|1920|3840)px-)[^/]+$") { - var.set_int("glb_requests_limit", 1000); - } else { - var.set_int("glb_requests_limit", 500); + if (req.url ~ "/((?:qlow-)?(?:lossy-)?(?:lossless-)?(?:page\d+-)?(?:lang[0-9a-zA-Z-]+-)?(?:20|40|60|120|250|330|500|960|1280|1920|3840)px-)[^/]+$") { + var.set_int("glb_requests_limit", 1000); + } else { + // Non-standard size is an invalid request, not a rate limit violation + return (synth(400, "Use thumbnail sizes listed on https://w.wiki/GHai")); } // Normalize end of thumbnail URL (redundant filename)
- Content differences: