Skip to content

[bug] Sharing link to documentation from mobile Chrome drops version from the URL #4305

@Alexolut

Description

@Alexolut

I noticed that if I use "share" tool in mobile Chrome (Android and iPadOS are affected at least) version part is removed from the final URL. E.g.:

When I do share from the page

https://docs.conan.io/2/ci_tutorial/project_setup.html

that will be ended as

https://docs.conan.io/ci_tutorial/project_setup.html

I.e. 2 part is removed from the URL. And I see 404 Page Not Found error in result.

Similar behavior for legacy 1.x links. When I want to share link from the page https://docs.conan.io/1/index.html I will end up with https://docs.conan.io/index.html redirected to the https://docs.conan.io/2/. That's obviously not what I want to see.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions