[
https://issues.apache.org/jira/browse/LANG-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14358818#comment-14358818
]
Sebb commented on LANG-1094:
----------------------------
It's not a bug in LANG.
It is either in Javadoc or in Maven's handling of Javadoc.
It may also depend on the browser being used; when I copy/paste from Firefox it
automatically converts the spaces and other unsafe chars.
What browser did you use to copy/paste the link?
> Javadoc is not encoding spaces correctly
> ----------------------------------------
>
> Key: LANG-1094
> URL: https://issues.apache.org/jira/browse/LANG-1094
> Project: Commons Lang
> Issue Type: Bug
> Components: General
> Reporter: Duncan Jones
> Priority: Minor
>
> I've noticed the Javadocs include links to methods with spaces incorrectly
> encoded. For example, the Javadocs for
> [DateUtils|http://commons.apache.org/proper/commons-lang/javadocs/api-release/org/apache/commons/lang3/time/DateUtils.html]
> describes a method:
> {code:java}
> public static boolean isSameDay(Calendar cal1, Calendar cal2)
> {code}
> The link to this is:
> {noformat}
> [...]/DateUtils.html#isSameDay(java.util.Calendar, java.util.Calendar)
> {noformat}
> whereas it should be:
> {noformat}
> [...]/DateUtils.html#isSameDay(java.util.Calendar,%20java.util.Calendar)
> {noformat}
> Not sure what's causing this problem. But it certainly hinders efforts to
> link to our docs from other sites (like Stack Overflow).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)