Bug 103628

Summary: Wrong URL processing in web PR pages
Product: Documentation Reporter: V.Chukharev <chukharev>
Component: Books & ArticlesAssignee: Daniel Gerzo <danger>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description V.Chukharev 2006-09-25 18:30:21 UTC
 Some URLs are shown incorrectly on the web pages of PR search. For example, URL
 http://validator.w3.org/check?uri=3Dhttp://www.freebsd.org/cgi/query-pr.cgi
 (used in the closed PR www/63551) is shown as a link "http://validator.w3.org/check?uri=3Dhttp" followed
 by text "//www.freebsd.org/cgi/query-pr.cgi", rather than a single link as expected.
 In the html-code it is
 <a href=3D"http://validator.w3.org/check?uri=3Dhttp">http://validator.w3.org/check?uri=3Dhttp</a>://www.freebsd.org/cgi/query-pr.cgi<br />

How-To-Repeat:  
 Look at http://www.freebsd.org/cgi/query-pr.cgi?pr=63551
 (same will be seen in this PR, I guess;)
 
 
 -- =
 
 V. Chukharev
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2006-09-25 20:52:22 UTC
Responsible Changed
From-To: gnats-admin->www

Rescue this from the mangling it received from the MTA.
Comment 2 Daniel Gerzo freebsd_committer freebsd_triage 2006-09-25 21:09:27 UTC
Responsible Changed
From-To: www->danger

Take this one, I'm working a bit on this script
Comment 3 dfilter service freebsd_committer freebsd_triage 2006-10-11 22:03:10 UTC
danger      2006-10-11 21:02:59 UTC

  FreeBSD doc repository

  Modified files:
    en/cgi               query-pr.cgi 
  Log:
  - Let this script generate valid XHTML
  - Also allow queries like query-pr.cgi?q= and query-pr.cgi?cat/num
  - Fix comment
  - Display query form when no results found
  - Allow some other characters to be part of the URL [1]
  
  PR: www/103628 [1]
  Reviewed by: simon, remko
  Approved by: keramida (mentor)
  
  Revision  Changes    Path
  1.56      +10 -8     www/en/cgi/query-pr.cgi
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Daniel Gerzo freebsd_committer freebsd_triage 2006-10-11 22:05:33 UTC
State Changed
From-To: open->closed

I have committed a diff that should fix this problem. 
Thank you for your submission!