Subject: bug#68913: [PATCH] Fix browse-url-url-at-point so that scheme does not duplicate

From: Eli Zaretskii <[email-masked]>
Date: Sat, 03 Feb 2024 21:49:33 +0200

> From: Kenta USAMI <[email-masked]>
> Date: Sun, 4 Feb 2024 04:17:29 +0900
> 
> In the text below, move point to the second half of the URL and
> execute M-x browse-url-at-point.
> 
> ```
> [![Emacs](
> https://www.gnu.org/software/emacs/images/emacs.png)](https://www.gnu.org/software/emacs/download.html
> )
> ```
> 
> Firefox and Chromium-based browsers appear to open the URL "https//
> www.gnu.org/software/emacs/download.html".
> It seems that the ":" following https is deleted, but the browser actually
> normalizes
> the URL with the duplicate scheme "http://https://".

In what version of Emacs did you see that?  And on what OS?

Also, please post a complete recipe: do I type the above into the
*scratch* buffer, or into some other buffer, and what should be the
major-mode of that buffer?  Also, is the part inside [...] that
precedes the URL important for reproducing the problem?

Thanks.