working on issue #12

This commit is contained in:
Bernardo Damele
2012-07-26 23:11:07 +01:00
parent 57f2fccc24
commit d492291744
36 changed files with 72 additions and 72 deletions

View File

@@ -12,7 +12,7 @@ __priority__ = PRIORITY.LOWEST
def dependencies():
pass
def tamper(payload):
def tamper(payload, headers):
"""
Replaces apostrophe character with its UTF-8 full width counterpart
@@ -27,4 +27,4 @@ def tamper(payload):
* http://lukasz.pilorz.net/testy/full_width_utf/index.phps
"""
return payload.replace('\'', "%EF%BC%87") if payload else payload
return payload.replace('\'', "%EF%BC%87") if payload else payload, headers