Skip to content

Incorrect encoding and decoding of symbolic names in scaladoc links #11587

Open
@szeiger

Description

@szeiger

Symbolic method names such as https://github.com/sbt/sbt-sdlc/blob/4b27e22299fe873ded8d451fe6d3ac3995a55ab7/src/sbt-test/sdlc/simple/src/main/scala/com/example/Main.scala#L8-L13 are not encoded and decoded properly by scaladoc.

For example, using the permalink next to method " actually links to method %22 (which happens to be the url-encoded version of ". All method names should have a consistent encoding and decoding applied. Ideally this should be done to the individual names before constructing signatures, otherwise there will still be ambiguities between signatures such as `x` () and `x()`.

Verified with scaladoc versions 2.11.12, 2.12.8 and 2.13.0.

Activity

changed the title [-]Incorrent encoding and decoding of symbolic names in scaladoc links[/-] [+]Incorrect encoding and decoding of symbolic names in scaladoc links[/+] on Jul 3, 2019
added this to the Backlog milestone on Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @szeiger@SethTisue

        Issue actions

          Incorrect encoding and decoding of symbolic names in scaladoc links · Issue #11587 · scala/bug