Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10444

The log-parser plugin result page(s) contain absolute paths instead of relative paths

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • log-parser-plugin
    • None
    • Windows 2003 Server / 32 bit, Jenkins 1.420, log-parser 1.0.8

      On the result page of the log-parser plugin - http://server/jenkins/job/name/30/parsed_console/? - log_ref.html - the images red.gif yellow.gif and blue.gif are linked by absolute http path instead of a relative path.

      That is, the content of a log_ref.html file reads:
      ... <img src="http://server/jenkins///plugin/log-parser/images/red.gif" ...

      The css files in the log_ref.html and log_content.html are also linked by absolute path.

      As far as I can tell, this is unnecessary - relative paths should be sufficient for the iframe of log.html and for the frameset.

      And it is confusing: If a server within an intranet can be referred to by "http://server/" as well as "http://server.company-domain.com/" and a user uses one of these variants, the other variant is not logged in and if the images / css are supplied via the other variant they won't be displayed.

            rgoren rgoren
            btb3 Martin Ba
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: