cancel
Showing results for 
Search instead for 
Did you mean: 

URL iview url encoding problem

Former Member
0 Kudos

Hi,

I am no sure if somebody else also has this problem.

I created a URL iview. One of my parameters value has blank in it. For example, "my name". When I edit this iView, if I input the text "my name" as the parameter, after I save it, it is automatically converted to "my+name". If I input the text "my%20name", it is converted "my%2520name". I cannot let the content by "my%20name" after I save. I think it is SAP's bug.

Does anybody know how to work around this problem?

Thanks,

Harry

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Harry,

it is common practice to encode spaces in the query part of an URL with "+" instead of "%20" so this is not a bug.

The bug is rather in the page that you are capturing with the URL iView because normal libraries for URL decoding

support this syntax.

If you absolutely need the "%20" in your query, you can create the URL iView from scratch and specify the URL

with the parameters in the syntax:

http://www.thehost.org/thescript.cgi?parameter1=with%20space&parameter2=also%20with%20spaces

You can ignore that in step 3 of the iView wizard the "&" signs are encoded as "&", it works anyway.

Just be careful not to change the iView afterwards or the spaces will be converted to "+" again.

Best regards,

Kilian