(match)
| 2966 | charset = set(string.printable) - set(unsafe) |
| 2967 | |
| 2968 | def _(match): |
| 2969 | char = decodeHex(match.group(1), binary=False) |
| 2970 | return char if char in charset else match.group(0) |
| 2971 | |
| 2972 | if spaceplus: |
| 2973 | result = result.replace('+', ' ') # plus sign has a special meaning in URL encoded data (hence the usage of _urllib.parse.unquote_plus in convall case) |
no test coverage detected