Ticket #2855: asterisk.patch

File asterisk.patch, 0.5 kB (added by creanium, 8 months ago)

Patch to wiki.py that now allows it to properly handle asterisks in the subscriptions

  • wiki.py

    old new  
    6969             
    7070        return "prefs_announcer_wiki.html", dict( 
    7171            wiki_interests = '\n'.join( 
    72                 urllib.unquote( 
    73                     x.replace('.*?', '*') 
    74                 ) for x in interests.split(' ') 
     72                urllib.unquote(x).replace('.*?', '*') 
     73                for x in interests.split(' ') 
    7574            ) 
    7675        )