Skip to content

Commit 458262d

Browse files
committed
Fixed javadoc error
1 parent 3b138f5 commit 458262d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/java/jenkins/security/csp/AvatarContributor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)