13 Replies Latest reply: Sep 13, 2011 1:41 PM by Deepak Dhamat RSS

Invalid URL ; How to make it valid ??

Kumar Ashesh
Currently Being Moderated

HI All,

 

After recent netweaver upgrade due to enhanced security checks ,few URLs which were working earlier are not accepted  by the system now.

Actually in my scenario the URLs are shown as "Link to Actions" on the UI. 

 

To avoid the dump first I am checking the validity of the "URL string" using this method.

cl_abap_utility=>is_valid_url( ).

If it is valid, only then the URL is binded on UI otherwise its ignored.

 

Following is an example of an invalid URL:

https://portal.wdf.sap.corp/irj/go/km/docs/guid/600840f6-2d2d-2e10-5bb7-##fca7779a24cc

 

I checked, presence of extra characters '#' makes it invalid .

Is there any way to remove this extra character '#' from the URL ??

(I tried replacing all occurences of # and condense it: but that did not work ).

or

Is there any other way to convert this invalid URL to a valid format, accepted by system ???

 

Thanks a lot in advance..!!!!!

 

Best Regards,

Kumar Ashesh

Actions