Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-7471

Shortcut links URL encoding breaks javadoc link generation

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Low Low
    • None
    • 2.2.10, 2.3
    • None

      Javadoc 5.0 allows the JavaDoc of particular class to be displayed directly using the URLs. For example:

      http://java.sun.com/j2se/1.5.0/docs/api/index.html?java/lang/String.html

      All the links within the page will be broken if the URL above is generated from a shortcut link. Using the URL above as an example, the URL generated will look like:

      http://java.sun.com/j2se/1.5.0/docs/api/index.html?java%2Flang%2FString.html

      Please follow these steps to reproduce the bug:
      1) Create a shortcut link with the expanded value of "http://java.sun.com/j2se/1.5.0/docs/api/index.html?"
      2) Create a page that uses the shortcut link. For example, "[java/lang/String@shortcutlink]"
      3) Click on the rendered link
      4) After the page is loaded, click on any of the links within it.

              agnes@atlassian.com Agnes Ro
              dchui DavidA
              Affected customers:
              4 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: