Request_Content encodes spaces to + instead of %20.is it an issue with 6.5?

The Request_Content encodes spaces to + instead of %20.consequently my @urldecode function fails.

Is this a known issue with R6.5?

In one of the comments I saw :“Domino replaced the spaces with plus signs, now it URLEncodes spaces to %20, as it should have all along”

in,

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/4dbe83fd0237b05485256d3c008131ce?OpenDocument

but it doesn’t seem to be so.

anyone got it working correctly??

Subject: Request_Content encodes spaces to + instead of %20.is it an issue with 6.5??

I tested it out and get the same results as you.

Are you using Java? Can you use the URLDecoder in java.net instead?

import java.net.URLDecoder ;

String filePathDecoded = URLDecoder.decode ( “Some+string+or+other” ) ;

returns “Some string or other” as you’d expect.

George :slight_smile:

Subject: The problem is with encoding

Thanks but I am not using java.

An easy way would be conver + to %20 before applying @urldecode but I was expecting that space would be converted automatically to %20 like in Query_String.