File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
core/src/main/java/jenkins/security/csp Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -157,15 +157,15 @@ public static String extractDomainFromUrl(@CheckForNull String url) {
157157 /**
158158 * Normalizes a URL for use in Content-Security-Policy.
159159 * <p>
160- * This method performs several important steps:
160+ * This method performs several steps:
161+ * </p>
161162 * <ul>
162- * <li>Only http or https schemes are accepted.</li>
163+ * <li>Only http or https are accepted.</li>
163164 * <li>Removes embedded credentials for security.</li>
164165 * <li>Converts IDN to ASCII.</li>
165166 * <li>Normalizes IPv6 addresses.</li>
166167 * <li>Removes default ports.</li>
167168 * </ul>
168- * </p>
169169 *
170170 * @param url The raw input URL.
171171 * @return A canonical, safe string representation of the URL, or null if the URL is invalid or unsafe.
You can’t perform that action at this time.
0 commit comments