Hi there,

When I send the following URL into my libmicrohttpd based embedded
web-server, I don't receive the url correctly inside my
http_access_callback.

 
<http://10.26.7.81/events/CreateAlarmEvent.cgi?id=1&trigger=1&SetOutput=0&Ou
tputActiveHigh=0&duration=1&SendFrame=0&SendTCPMessage=1&TCPMessageString=Zo
ne1%A0triggered&StreamIndex=0&maxfps=1>
http://10.26.7.81/events/CreateAlarmEvent.cgi?id=1&trigger=1&SetOutput=0&Out
putActiveHigh=0&duration=1&SendFrame=0&SendTCPMessage=1&TCPMessageString=Zon
e1%A0triggered&StreamIndex=0&maxfps=1

The TCPMessageString parameter contains two non-breaking-space characters
(&NBSP = 0xA0) and the effect of this is that I get an extra parameter in
the callback url which is the last 3 characters of this parameter, ie the
string "red".

I assumed that &NBSP characters are normal in URLs, so I don't understand
what is happening here.

Best regards, David

Reply via email to