1. Chris Perl
  2. loganalyze

Commits

Chris Perl  committed 3957abf

Snipping auth params that make some feed requests unique

  • Participants
  • Parent commits 3c097f9
  • Branches master

Comments (0)

Files changed (1)

File loganalyze.py

View file
  • Ignore whitespace
         line = re.sub('jQuery[0-9_]+', 'uqid=jQuery-SNIPPED', line)
         line = re.sub('&ts=\d+', '&ts=SNIPPED', line)
         line = re.sub('&_=\d+', '&_=SNIPPED', line)
+        line = re.sub('auth=[0-9A-Za-z%-]+', 'auth=SNIPPED', line)
         return line
 
     def _setup_parser_do_set(self):