maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DOXIA-546) DoxiaUtils#encodeId() produces invalid id
Date Sat, 07 Jan 2017 16:18:58 GMT

    [ https://issues.apache.org/jira/browse/DOXIA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15807736#comment-15807736
] 

Hudson commented on DOXIA-546:
------------------------------

SUCCESS: Integrated in Jenkins build doxia-all #314 (See [https://builds.apache.org/job/doxia-all/314/])
[DOXIA-546] DoxiaUtils#encodeId() produces invalid id

Simply use a dot instead of percent sign (michaelo: [http://svn.apache.org/viewvc/?view=rev&rev=1777819])
* (edit) ./doxia/doxia-core/src/main/java/org/apache/maven/doxia/util/DoxiaUtils.java
* (edit) ./doxia/doxia-core/src/test/java/org/apache/maven/doxia/util/DoxiaUtilsTest.java


> DoxiaUtils#encodeId() produces 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)

Mime
View raw message