Skip to content

Canonical URL calculation is off for top-level functions #2122

Closed
@isoos

Description

@isoos

dartdoc: 0.30.0+1

example top-level function:

expected content in HTML:

  • <link rel="canonical" href="https://pub.dartlang.org/documentation/pana/0.12.2/pana/prettyJson.html">

actual content in HTML:

  • <link rel="canonical" href="https://pub.dartlang.org/documentation/pana/0.12.2/../pana/prettyJson.html">

(note the /../ segment between /0.12.2/ and /pana/)

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failurestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions