Bug 170053

Summary: Mailing list sort options broken for svn lists
Product: Documentation Reporter: Randy Pratt <bsd-unix>
Component: Books & ArticlesAssignee: Wolfram Schneider <wosch>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Randy Pratt 2012-07-21 14:10:07 UTC
Sort by Subject, Author, or Date produces a "File does not exist" error for
the following mailing lists:

  svn-ports-all
  svn-ports-head
  svn-src-all
  svn-doc-all
  svn-doc-head
  svn-src-head
  svn-src-projects
  svn-src-stable-8
  svn-src-stable
  svn-src-stable-9
  svn-soc-all
  svn-src-user
  svn-src-vendor
  svn-doc-svnadmin
  svn-doc-projects
  svn-src-stable-7
  svn-ports-svnadmin
  svn-src-stable-6
  svn-src-stable-other
  svn-src-svnadmin

How-To-Repeat: As an example, use a browser to view:

  http://docs.freebsd.org/mail/current/svn-ports-head.html

and try to sort for Subject, Author, or Date.
Comment 1 Brad Davis freebsd_committer freebsd_triage 2012-08-31 15:26:07 UTC
Responsible Changed
From-To: freebsd-www->wosch

Wosch, 

Can you take a look at this? It appears to me that line 87 should be changed from: 

} elsif ($file =~ s%^current/%% && $file =~ /^freebsd-|^cvs-/) { 

to: 

} elsif ($file =~ s%^current/%% && $file =~ /^freebsd-|^cvs-|^svn-/) { 


Thanks, 
Brad Davis
Comment 2 Wolfram Schneider freebsd_committer freebsd_triage 2017-09-14 11:56:36 UTC
Fixed in rev 50835
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-09-14 11:57:10 UTC
A commit references this bug:

Author: wosch
Date: Thu Sep 14 11:56:10 UTC 2017
New revision: 50835
URL: https://svnweb.freebsd.org/changeset/doc/50835

Log:
  support more mailing list prefixes

  PR: 170053

Changes:
  head/en_US.ISO8859-1/htdocs/cgi/mailindex.cgi