Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Dec 2023 10:38:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 275480] Incorrect links generated for pages with embedded underscores.
Message-ID:  <bug-275480-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275480

            Bug ID: 275480
           Summary: Incorrect links generated for pages with embedded
                    underscores.
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: root+FreeBSD@linuxpedia.pl
                CC: doc@FreeBSD.org

Man pages at https://man.freebsd.org generate broken links for items that h=
ave
underscores embedded in their names (CMSG_DATA, if_ipsec, ipsec_strerror, a=
ll
Netgraph pages of ng_* and so on).

For example:

https://man.freebsd.org/cgi/man.cgi?query=3Dipsec&sektion=3D4&format=3Dhtml=
 has
broken link to ipsec_set_policy(3)

The actual link is to
https://man.freebsd.org/cgi/man.cgi?query=3Dpolicy&sektion=3D3&apropos=3D0&=
manpath=3DFreeBSD+14.0-RELEASE+and+Ports
, that is to the part of the name that is after the last "_".


The expected link is be to the
https://man.freebsd.org/cgi/man.cgi?query=3Dipsec_set_policy&sektion=3D3&ap=
ropos=3D0&manpath=3DFreeBSD+14.0-RELEASE+and+Ports


The bug also manifests visually, with only part of the name
underscored/linkified, both in "SEE ALSO" section and for links within the =
man
body.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275480-9>