Big problem with IXmlHttpRequest in VC++

  • Thread starter Thread starter JXP
  • Start date Start date
J

JXP

Hello,

I am attempting to send url with '\n' in some place.

the url is like this:

"http://localhost/MyFile.xml?param1=hello\nbye\n"

I put this url in CString class and I run this code:


m_XmlHttpRequest.open ("POST", m_strXmlUrl, covFalse,
COleVariant (szUser), COleVariant (szPassword));
m_XmlHttpRequest.setRequestHeader ("Content-
Type", "application/x-www-form-urlencoded");
m_XmlHttpRequest.send (COleVariant (""));

where m_XmlHttpRequest is a wrapper to xml class,
m_strXmlUrl is the Url string.

The problem is that the IIS receive the url whitout '\n'.

Can anybody help me?


Thanks for all.
 
Back
Top