You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2017/01/07 15:23:58 UTC

[jira] [Created] (DOXIA-546) DoxiaUtils#encodeId() produced invalid id

Michael Osipov created DOXIA-546:
------------------------------------

             Summary: DoxiaUtils#encodeId() produced invalid id
                 Key: DOXIA-546
                 URL: https://issues.apache.org/jira/browse/DOXIA-546
             Project: Maven Doxia
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.7
            Reporter: Michael Osipov
            Assignee: Michael Osipov
             Fix For: 1.8


The method encodes non-ASCII characters with their raw UTF-8 using percent encoding. This produces an invalid id because the percent sign is not a valid character for an HTML id. Use the same approach as MediaWiki does, replace percent with a dot.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)