• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • remoting
    • None
    • Platform: All, OS: All

      There is a bug in line 150 of hudson.remoting.Engine which reads:

      String[] tokens = tunnel.split(":");
      if(tokens.length!=2)
      throw new IOException("Illegal tunneling parameter: "+tunnel);

      This does not work as documented since String.split ignores delimiters at the
      end of the string, thus when tunnel="HOST:" tokens.length is 1. The fix is trivial

      String[] tokens = tunnel.split(":",2);
      if(tokens.length!=2)
      throw new IOException("Illegal tunneling parameter: "+tunnel);

          [JENKINS-2869] Bug in hudson.remoting.Engine

          tonyj created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 132942 ] New: JNJira + In-Review [ 201796 ]

            mindless Alan Harder
            tonyj tonyj
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: