savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110128] Savannah bug submission markup does not properly handle URL


From: Nutchanon Wetchasit
Subject: [sr #110128] Savannah bug submission markup does not properly handle URL with "http://" in non-protocol part
Date: Wed, 13 Nov 2019 06:46:13 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.8) Gecko/20151123 Firefox/31.9 PaleMoon/25.8.1

URL:
  <https://savannah.nongnu.org/support/?110128>

                 Summary: Savannah bug submission markup does not properly
handle URL with "http://"; in non-protocol part
                 Project: Savannah Administration
            Submitted by: nachanon
            Submitted on: Wed 13 Nov 2019 06:46:11 PM +07
                Category: Savannah trackers - bugs, tasks, etc.
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
        Operating System: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Note that this is likely a bug in Savanae software itself.

While I was writing GNU Screen bug #57219 submission, I attempted to add an
inline link to a page on Internet Archive with following markup:

Title Prompt
<http://web.archive.org/web/20121226203910/http://www.gnu.org/software/screen/manual/html_node/Title-Prompts.html#Title-Prompts>

* Note that the URL has `http://` in the middle, but is nevertheless intended
and valid.

I expected the code above to produce a link text "Title Prompt", with URL
pointing to the Internet Archive entry of GNU Screen's HTML manual page.

But once I wrote this in some random bug's comment, and clicked "Preview", it
ended up producing following text instead:

http://web.archive.org/web/20121226203910/Title Prompt
<http://www.gnu.org/software/screen/manual/html_node/Title-Prompts.html#Title-Prompts>

*which is nonsensical, and also linked to an incorrect place* as `[` got
sandwiched inside the URL.

Current workaround is to avoid the inline link markup entirely, and write the
URL literally, like:

http://web.archive.org/web/20121226203910/http://www.gnu.org/software/screen/manual/html_node/Title-Prompts.html#Title-Prompts

which still produce a correct link.

Please investigate and fix.

P.S. Apart from `http://`, `https://` in the link is also trigger this; no
matter it was the one in the front, the middle, or both.




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/support/?110128>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]