Document issue with OSGi base URIs
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 7 Dec 2023 08:13:26 +0000 (09:13 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 7 Dec 2023 08:13:26 +0000 (09:13 +0100)
org.argeo.cms/src/org/argeo/cms/internal/runtime/KernelUtils.java

index 943c06f4ec44a6914e73a41e0530c7e61aed5381..b35b4be09311b8392531f1fe2e6ae306bc88adf9 100644 (file)
@@ -138,6 +138,7 @@ class KernelUtils implements KernelConstants {
                if (uri == null)
                        throw new IllegalArgumentException("URI cannot be null");
                try {
+                       // FIXME does not work if URI contains illegal characters (such as spaces, etc.)
                        return new URI(uri);
                } catch (URISyntaxException e) {
                        throw new IllegalArgumentException("Badly formatted URI " + uri, e);