dart-lang / dart-lang/pub-dev

<version> in documentation routes is not canonicalized

Open
#6,141 1 comment 0 reactions 0 assignees View on GitHub
Type: bug
Dominant language
Dart
Stars
944
Forks
184
Avg merge
1d 15h
Merged PRs (30d)
12

Description

See:
https://github.com/dart-lang/pub-dev/blob/2a7f445b18c311a1d9a1c81923030ab6015492c8/app/lib/frontend/handlers/documentation.dart#L157

This is not canonicalized, so looks in cache / datastore may fail.

-----------------

We should probably refactor all of this logic, so that we utilize the Router annotations we have in `routes.dart`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.