[
https://issues.apache.org/jira/browse/MSHARED-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Schultze updated MSHARED-429:
---------------------------------
Labels: patch (was: )
> Supposedly invalid URLs are rendered as plain text
> --------------------------------------------------
>
> Key: MSHARED-429
> URL: https://issues.apache.org/jira/browse/MSHARED-429
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-reporting-impl
> Affects Versions: maven-reporting-impl-2.3
> Reporter: Jan Schultze
> Priority: Minor
> Labels: patch
> Attachments: local_url_valitdation.patch
>
>
> org.apache.maven.reporting.AbstractMavenReportRenderer#linkPatternedText(String)
> from org.apache.maven.shared::maven-reporting-impl validates URLs before
> rendering. If the validation fails URLs are rendered as plain text. The class
> uses an (in recent versions) deprecated UrlValidator from commons-validator
> which considers unqualified (i.e. local) host names and fully qualified
> domain names with a top level domain longer than 4 characters as invalid
> (such as the special use domain .local or more recent TLDs as .academy and
> .paris). This makes using maven sites in a private network with a .local top
> level domain cumbersome as browsing (proprietary) dependencies site(s)
> requires users to manually copy and paste the URL.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)