Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1094

Javadoc is not encoding spaces correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.5
    • General
    • None

    Description

      I've noticed the Javadocs include links to methods with spaces incorrectly encoded. For example, the Javadocs for DateUtils describes a method:

      public static boolean isSameDay(Calendar cal1, Calendar cal2)
      

      The link to this is:

      [...]/DateUtils.html#isSameDay(java.util.Calendar, java.util.Calendar)
      

      whereas it should be:

      [...]/DateUtils.html#isSameDay(java.util.Calendar,%20java.util.Calendar)
      

      Not sure what's causing this problem. But it certainly hinders efforts to link to our docs from other sites (like Stack Overflow).

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmjones500 Duncan Jones
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: