Created
May 5, 2015 20:47
-
-
Save dergachev/fdef0a21accf308f683e to your computer and use it in GitHub Desktop.
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
--- | |
after: | |
url: https://gist.github.com/dergachev/a3cf9fe176b1a0b949cf | |
sanitization: | |
- title: Strip domain names from absolute URLs | |
pattern: http:\/\/[a-zA-Z0-9.:-]+ | |
substitute: __domain__ | |
disabled: true | |
paths: | |
- / | |
- /7a14cc6cbb5729d24ac8b989dbbad91fda82111c | |
- /fb4564d1c93d59947d47322fa353c33905874932 | |
- /raw/30d74d258442c7c65512eafab474568dd706c430/test | |
- /raw/39bd6882b26d6885bace37ea67850432317e54a2/test | |
- /raw/test | |
- /revisions | |
# selector: div.file-data | |
sanitization: | |
- pattern: '<meta content="[^"]+" name="csrf-token"\s*/?>' | |
substitute: '<meta content="REMOVED" name="csrf-token"/>' | |
- pattern: '<meta content="[^"]+" name="octolytics-dimension-request_id"\s*/?>' | |
substitute: '<meta content="REMOVED" name="octolytics-dimension-request_id" />' | |
- pattern: '<li>© 2015 <span title="[^"]+">GitHub</span>, Inc.</li>' | |
substitute: '<meta content="REMOVED" name="octolytics-dimension-request_id" />' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment