You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jan Schultze (JIRA)" <ji...@apache.org> on 2015/06/25 08:40:04 UTC

[jira] [Created] (MSHARED-429) Supposedly invalid URLs are rendered as plain text

Jan Schultze created MSHARED-429:
------------------------------------

             Summary: 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


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)