docs icon indicating copy to clipboard operation
docs copied to clipboard

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

Open Alexolut opened this issue 3 months ago • 1 comments

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.

Alexolut avatar Nov 07 '25 12:11 Alexolut

Thanks for reporting this @Alexolut

I have had a quick look, and it seems something very specific to Chrome in Android, that is failing to process the URL correctly and doing the wrong thing (a bug in Chrome-Android) I don't think it is possible to do anything from our side to fix this, this doesn't look like a Conan documentation bug.

memsharded avatar Nov 07 '25 14:11 memsharded