How to deal with & characters in postdata_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:08:41
Original
1309 people have browsed it

I use webbrowser in c#. Everything in postdata is in English. I prepare postdata such as "a=b&c=d" and then encode it and pass it to the navigation function. Everything is normal.

Now I find that there is an & character in the middle of a certain value. For example, the value of a is "m&n". How should I deal with the & here, such as "a='m&n'&c=d"? I I feel that this is not yet in the coding process, and the methods for dealing with it in the coding stage that I found online are useless.


Reply to discussion (solution)

Convert to & is not possible?

I haven’t tried using "a=m&n&c=d" directly, and then calling the encoding function. I will try it when I go back. Thank you.

ps: I caught the m&n here using httpwatch

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template