Skip to content

Moin does not parse URL's with angle brackets properly #103

@noloader

Description

@noloader

Debian uses Moin for its wiki at https://wiki.debian.org/. Moin does not parse a URL delimited with angle brackets properly, and it results in broken links when a page is rendered.

When Moin generates the http page and provides a link to the debian-user mailing list message, the linked url includes the closing angle bracket ('>'). The angle brackets are not part of the url.

Double quotes, angle brackets and whitespace are the commonly accepted ways to delimit a URL. From RFC 3986, Appendix C, Delimiting a URI in Context, https://datatracker.ietf.org/doc/html/rfc3986#appendix-C:

In practice, URIs are delimited in a variety of ways, but usually
within double-quotes "http://example.com/", angle brackets
<http://example.com/>, or just by using whitespace:

   http://example.com/

These wrappers do not form part of the URI.
...
Using <> angle brackets around each URI is especially recommended as
a delimiting style for a reference that contains embedded whitespace.

For example, this block of test was added to the "cdrecord" page at <https://wiki.debian.org/cdrecord> on the wiki:

<SNIP>
If you are having trouble writing CDs using cdrecord, then see Thomas Schmitt's analysis at "trixie: cdrecord can no longer write to CD" (November 2025), <https://lists.debian.org/debian-user/2025/11/msg00308.html>.
</SNIP>

Notice Moin rendered the page with the following link, which results in a 404 Not Found due to including the closing angle bracket:

https://lists.debian.org/debian-user/2025/11/msg00308.html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions