Python cgi.fieldstorage在分号

时间:2017-05-23 11:13:26

标签: python escaping cgi

我在python中通过cgi.fieldstorage发送一个字符串。 它不接受';'之后的字符

我正在发送一个字符串

str = "Hello; World"

It only accepts "Hello" and ignores the " World"

尝试了cgi.escape(str)和re.escape(str)

关于如何逃脱分号的任何想法?

提前致谢。

0 个答案:

没有答案
相关问题