Red Hat Bugzilla – Bug 805364
Trailing slash causes csprocessor.cfg / .ini server urls to not match
Last modified: 2014-10-19 19:00:24 EDT
If you put a trailing slash on a server url in the csprocessor.ini file, and the server url does not have a trailing slash in the .cfg file, they won't match.
Obviously they are not the same string, but putting either url into a browser would get a similar result:
both take you to the same place in a browser. So that user expectation can carry over into the configuration.
Maybe remove any trailing slash when matching urls?
Fixed in 0.22.4
The Java URL.equals() function doesn't return that those two URL's are equal. (There is a reason but not worth mentioning)
The client would return an error message that the csprocessor.cfg couldn't be matched to a server configuration.
Run all the URL's from the Command Line, csprocessor.cfg and csprocessor.ini through a validation function to add the trailing slashes and make sure that the protocal is set.
Closing and setting as current release as no QA was performed by the original reporter. If there is still an issue with this bug still than please re-open it.