Which character produces “%3Q” from urllib.quote?

浪尽此生 提交于 2019-12-25 13:09:19

问题


We're encoding urls with user-supplied data using python's urllib.quote(); one of the urls is producing a string with the following substring:

'%3Q'

I'm trying to figure out what the original user-supplied character is, but am getting stumped: I can't seem to find any resource that mentions the character that produces this output from urllib.quote(). Strangely, there are no results in stackoverflow with this string of characters.

It's also important to note that the user-supplied data is first piped through base64 encoding, and the result of that is then piped through urllib.quote()

Let me also add some clarification: I see the %3Q string in the GET request to a webapp; it's possible that urllib.quote() produced a string which was then modified by either an email client or browser before it made it to the webapp. It's possible that one of these is responsible for some sort of obfuscation post-quoting.

来源:https://stackoverflow.com/questions/37574004/which-character-produces-3q-from-urllib-quote

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!