Bug 215926

Summary: Broken "Long description" links on ports/<category>.html
Product: Documentation Reporter: Pietro Cerutti <gahr>
Component: WebsiteAssignee: freebsd-doc (Nobody) <doc>
Status: Closed DUPLICATE    
Severity: Affects Only Me CC: andipersti, linimon
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix none

Description Pietro Cerutti freebsd_committer freebsd_triage 2017-01-10 08:41:14 UTC
See for example the "Long description" link for expect-5.45.3 at https://www.freebsd.org/ports/tcl.html

https://svnweb.freebsd.org/ports/head/lang/expect/pkg-descr?revision=HEAD?revision=HEAD

The same happens apparently randomly for some other ports (but not all) in other categories, e.g., MathMod-4.1 on https://www.freebsd.org/ports/math.html.
Comment 1 Pietro Cerutti freebsd_committer freebsd_triage 2017-01-10 13:33:34 UTC
This seems to happen with ports listed in more than one category. The ldesc variable is appended ?rev=HEAD once for each category, so the second category gets the parameter twice.
Comment 2 Pietro Cerutti freebsd_committer freebsd_triage 2017-01-10 13:33:55 UTC
Created attachment 178711 [details]
Fix
Comment 3 Pietro Cerutti freebsd_committer freebsd_triage 2017-01-10 13:34:23 UTC
Mark, would you please quick review the patch for me?
Comment 4 Andreas Perstinger 2017-01-10 14:01:15 UTC
Duplicate of bug #206709
Comment 5 Pietro Cerutti freebsd_committer freebsd_triage 2017-01-10 14:04:21 UTC

*** This bug has been marked as a duplicate of bug 206709 ***