Community
Participate
Working Groups
In the CMDBfServicesUtil.java class, we solve the issue of record ids that have spaces in them by converting spaces to the %20 character (see bug 219908). This doesn't solve the case of other special characters that are not valid for URIs that could find their way into record ids. The solution is to use java.net.URLEncoder and java.net.URLDecoder as part of the string conversions in createURI() and toString(), using UTF-8. As part of this defect, the two mentioned methods should be renamed to follow a consistent convention (e.g. uriFromString() and stringFromURI()).
changed to use URLEncoder and URLDecoder
reverting fix for this because URLEncoder seems to also change the "://" in a URL which is not the desired change