Bamboo passes bad parameter diff ViewVC

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 1.0
    • Affects Version/s: 1.0-rc1
    • None
    • Environment:

      Windows Standalone, WinXP 5.1, J2SE JDK 1.5.0_10-b03

      Diff URLs in Bamboo have an illegal parameter that causes an exception in viewVC. Removing the bad parameter causes ViewVC to work as expected.

      viewVC URL format docs:
      http://viewvc.tigris.org/source/browse/*checkout*/viewvc/trunk/docs/url-reference.html?rev=1509#diff-view

      Example of bad diff URL from Bamboo:
      http://opensecondlife.org/svn/index.cgi/libsl/trunk/libsecondlife-cs/LLObject.cs?content-type=text/vnd.viewcvs-markup&root=&rev=947&r=947&r1=946&r2=947

      An Exception Has Occurred

      An illegal parameter name ("r") was passed.

      HTTP Response Status

      400 Bad Request

      Python Traceback

      Traceback (most recent call last):
      File "/usr/local/viewvc-1.0.3/lib/viewvc.py", line 3629, in main
      request.run_viewvc()
      File "/usr/local/viewvc-1.0.3/lib/viewvc.py", line 161, in run_viewvc
      _validate_param(name, values[0])
      File "/usr/local/viewvc-1.0.3/lib/viewvc.py", line 598, in _validate_param
      '400 Bad Request')
      ViewVCException: 400 Bad Request: An illegal parameter name ("r") was passed.

              Assignee:
              bmccoy
              Reporter:
              James Neal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1h Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h