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

Jabber bot status doesn't correctly link to projects with spaces in the name (again)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • jabber-plugin
    • None
    • Platform: All, OS: All

      Although https://hudson.dev.java.net/issues/show_bug.cgi?id=909 fixes the issue
      of URL encoding for the group messages, it appears that the per-developer
      'You're suspected of having broken ...' or 'Seems you've fixed' messages have
      not been fixed - neither one is performing a 'Util.encode(lastBuild.getUrl())'
      on the build URL.

      example in jabber client:

      bad: (11:29:28 AM) Hudson: You're suspected of having broken Opsera Common - CI:
      http://alm-test.opsera.com:8070/job/Opsera Common - CI/82/

      good: (12:01:20 PM) hudson@alm-test.opsera.com: Project Opsera Common - CI build
      (84): SUCCESS in 5 min 3 sec and counting:
      http://alm-test.opsera.com/hudson/job/Opsera%20Common%20-%20CI/84/

      Fix is trivial, simply perform proper encoding on URLs before sending them to
      clients

            vsellier vsellier
            skaze skaze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: