Test URLs need to be escaped in "All Tests" view

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When viewing "All Tests" and package root, I get URLs that are invalid due to the names of my tests.

      (I'm using Hudson to run Ruby tests, the test names are the Ruby name for the test controller -
      "Fnarg::FnooTester"

      The URL I see this issue at is: http://hudson.example.com/job/superapp/215/testReport/(root)/

      Any test with :: in the name shows up as links like:

      <a
      href="SuperApp::JiraVerifierTest/test_verify_email">SuperApp::JiraVerifierTest.test_verify_email</a>

      The browser misinterprets the SuperApp:: as a protocol in the URL; and sends me to the "page"
      "superApp::JiraVerifierTest/test_matching_email" (that's the complete URL). This doesn't work
      (obviously). It should have sent me to something like:

      http://hudson.example.com/job/superapp/215/testReport/(root)/SuperApp::JiraVerifierTest/test_matc
      hing_email/

      It is important to note that this only happens on some pages (listed above); other pages seem to
      construct the URL differently (perhaps with a path component first); and thus works for those pages.

            Assignee:
            Alan Harder
            Reporter:
            Ben Walding
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: