This repository has been archived by the owner on Feb 23, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expanded Regex Support & Improved Page Cache Cookies (#398)
To provide better robustness I added full regex support for the following "Minify" fields: * Never Minify the Following JS Files * Never Minify the Following CSS Files * Rejected User Agents There have been several times in the past where having some regex support for the aforementioned fields would have resolved real-world user issues (e.g., dynamically generated js files with always changing names, which shouldn't be cached). I also fixed an issue with Page Cache's "Reject Cookies" field. It originally only accepted keys and so if someone gave a "key-value" pair (as is common for cookies) it would have failed despite the key existing. It now allows the user to provide (optionally) a value, in the form: "name=value". Acceptable example entries could be: "mycookie=myvalue", "plugin"login=", "cookie"name". A minor tweak was also made to "Util"Rule::array"trim()" because although the function was suppose to trim a given array it was not; it was simply checking to see if the entries weren't empty. It now trims and removes empty entries, effectively becoming a true array trimmer.
- Loading branch information
Showing
9 changed files
with
107 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,3 +145,7 @@ | |
.maxcdn-netdna-widget-base.sign-up p span.desc { | ||
color:#8F8F8F; | ||
} | ||
|
||
#purge_urls { | ||
width: 100%; | ||
} |