Community
Participate
Working Groups
Created attachment 123509 [details] Patch for bug in SimpleProfileRegistry.unescape(String) Method "org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.unescape(String)" cannot handle "more" complicated parameters, which have more then one "%" + ";" couples (e.g. "c%58;%47;tmp%47;ei_sa"). It causes "StringIndexOutOfBoundsException" exception. I have the latest SimpleProfileRegistry.java from head, revision 1.49 Patch, which should be applied on "org.eclipse.equinox.internal.p2.engine" project, is enclosed.
Thanks Karel, good catch. Apparently "two" encoded characters would be a good idea in our test case.