Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
szeiger opened this issue Jun 25, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@szeiger
Copy link

commented Jun 25, 2019

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.

@SethTisue SethTisue changed the title Incorrent encoding and decoding of symbolic names in scaladoc links Incorrect encoding and decoding of symbolic names in scaladoc links Jul 3, 2019

@SethTisue SethTisue added this to the Backlog milestone Jul 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.