Bug 4735

Summary: exception in svnweb
Product: Websites Reporter: Thierry Vignaud <thierry.vignaud>
Component: svn.mageia.orgAssignee: Sysadmin Team <sysadmin-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: filip.komar, misc, rdalverny
Version: trunk   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://svnweb.mageia.org/packages/cauldron/rpm/current/SOURCES/rpm-4.6.0-rc1-speedup-by-not-checking-same-files-with-different-paths-through-symlink.patch?view=log&pathrev=46862
Whiteboard:
Source RPM: CVE:
Status comment:

Description Thierry Vignaud 2012-02-28 17:44:56 CET
On [1], clicking on "rpm-4.6.0-rc1-speedup-by-not-checking-same-files-with-different-paths-through-symlink.patch" which goes to [2] results in:

An Exception Has Occurred
Python Traceback

Traceback (most recent call last):
  File "/usr/share/viewvc/lib/viewvc.py", line 4460, in main
    request.run_viewvc()
  File "/usr/share/viewvc/lib/viewvc.py", line 394, in run_viewvc
    self.view_func(self)
  File "/usr/share/viewvc/lib/viewvc.py", line 2608, in view_log
    lastrev = pathrev_form(request, data)
  File "/usr/share/viewvc/lib/viewvc.py", line 2318, in pathrev_form
    action, hidden_values = request.get_form(params={'pathrev': lastrev})
  File "/usr/share/viewvc/lib/viewvc.py", line 432, in get_form
    value=self.server.escape(value)))
  File "/usr/share/viewvc/lib/sapi.py", line 237, in escape
    return cgi.escape(s, quote)
  File "/usr/lib64/python2.7/cgi.py", line 1035, in escape
    s = s.replace("&", "&amp;") # Must be done first!
AttributeError: 'int' object has no attribute 'replace'

[1] http://svnweb.mageia.org/packages/cauldron/rpm/current/SOURCES/?pathrev=46862
[2] http://svnweb.mageia.org/packages/cauldron/rpm/current/SOURCES/rpm-4.6.0-rc1-speedup-by-not-checking-same-files-with-different-paths-through-symlink.patch?view=log&pathrev=46862

BTW we lack a svnweb component...
Thierry Vignaud 2012-02-28 18:05:18 CET

CC: (none) => misc

Filip Komar 2012-06-04 16:31:20 CEST

CC: (none) => filip.komar

Thierry Vignaud 2012-06-04 16:32:54 CEST

Assignee: mageia-webteam => sysadmin-bugs

Comment 1 Romain d'Alverny 2012-06-04 17:02:46 CEST
(In reply to comment #0)
> BTW we lack a svnweb component...

Added and reassigned.

CC: (none) => rdalverny
Component: Other => svn.mageia.org

Comment 2 Manuel Hiebel 2012-06-25 04:08:54 CEST
*** Bug 6290 has been marked as a duplicate of this bug. ***
Thierry Vignaud 2012-06-26 09:54:20 CEST

Hardware: i586 => All

Comment 3 Filip Komar 2013-05-30 13:27:50 CEST
It seems fixed.

Status: NEW => RESOLVED
Resolution: (none) => FIXED