Skip to content

Commit

Permalink
Unescape a few more URLs.
Browse files Browse the repository at this point in the history
# {
#   options: {
#     trim: true,
#     unescapeUrl: true,
#     stripGoogle: true,
#     tidyUrl: true,
#     filename: 'tmp/bangs.json'
#   }
# }
'title' = 'Cleaning bangs: trim unescape-url strip-google tidy-url'

'!askf5' = { old = { default = "https://my.f5.com/manage/s/global-search/%40uri#q=TEST(QUERY)&aq=%40f5_archived"}, new = {default = "https://my.f5.com/manage/s/global-search/@uri#q=TEST(QUERY)&aq=@f5_archived"}}
# unescape: https://my.f5.com/manage/s/global-search/%40uri#q={{{s}}}&aq=%40f5_archived
# update u: {
#   old: 'https://my.f5.com/manage/s/global-search/%40uri#q={{{s}}}&aq=%40f5_archived',
#   new: 'https://my.f5.com/manage/s/global-search/@uri#q={{{s}}}&aq=@f5_archived'
# }

'!attack' = { old = { default = "/search?q=TEST(QUERY)+site%3Aattack.mitre.org"}, new = {default = "/search?q=TEST(QUERY)+site:attack.mitre.org"}}
# unescape: /search?q={{{s}}}+site%3Aattack.mitre.org
# update u: {
#   old: '/search?q={{{s}}}+site%3Aattack.mitre.org',
#   new: '/search?q={{{s}}}+site:attack.mitre.org'
# }
  • Loading branch information
Leftium committed Oct 16, 2024
1 parent b12d1a8 commit e9d8fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/bangs.json
Original file line number Diff line number Diff line change
Expand Up @@ -6353,7 +6353,7 @@
"s": "AskF5 (my.f5.com)",
"d": "my.f5.com",
"t": "askf5",
"u": "https://my.f5.com/manage/s/global-search/%40uri#q={{{s}}}&aq=%40f5_archived",
"u": "https://my.f5.com/manage/s/global-search/@uri#q={{{s}}}&aq=@f5_archived",
"c": "Tech",
"sc": "Sysadmin (network)"
},
Expand Down Expand Up @@ -18520,7 +18520,7 @@
"s": "ATT&CK",
"d": "kagi.com",
"t": "attack",
"u": "/search?q={{{s}}}+site%3Aattack.mitre.org",
"u": "/search?q={{{s}}}+site:attack.mitre.org",
"c": "Tech",
"sc": "Libraries/Frameworks",
"ad": "attack.mitre.org"
Expand Down

0 comments on commit e9d8fdd

Please sign in to comment.