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

Gerrit Servers remove failed with HTTP ERROR 400

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • gerrit-trigger-plugin
    • None
    • Jenkins : 2.235.1
      Gerrit Trigger : 2.32.0

      I click Add New Server and fill with http://gerrit.xx.com/ for server name. 

      When I want to delete the server which named  http://gerrit.xx.com/ , I get  HTTP ERROR 400 response.URL is http://host:8080/jenkins/gerrit-trigger/server/http%3A%2F%2Fgerrit.xx.com%2F/remove 

      I think maybe server name not support character like : or  /

          [JENKINS-64689] Gerrit Servers remove failed with HTTP ERROR 400

          Wang created issue -
          Wang made changes -
          Description Original: I click [Add New Server|http://172.16.218.200:8080/jenkins/gerrit-trigger/newServer] and fill with [http://gerrit.xx.com/] for server name. 

          When I want to delete the server which named  [http://gerrit.xx.com/] , I get  HTTP ERROR 400 response.URL is [http://host:8080/jenkins/gerrit-trigger/server/http%3A%2F%2Fgerrit.xx.com%2F/remove |http://host:8080/jenkins/gerrit-trigger/server/http%3A%2F%2Fgerrit.xx.com%2F/remove.]

          I think maybe server name not support character like : or  //.
          New: I click [Add New Server|http://172.16.218.200:8080/jenkins/gerrit-trigger/newServer] and fill with [http://gerrit.xx.com/] for server name. 

          When I want to delete the server which named  [http://gerrit.xx.com/] , I get  HTTP ERROR 400 response.URL is [http://host:8080/jenkins/gerrit-trigger/server/http%3A%2F%2Fgerrit.xx.com%2F/remove |http://host:8080/jenkins/gerrit-trigger/server/http%3A%2F%2Fgerrit.xx.com%2F/remove.]

          I think maybe server name not support character like : or  /

            rsandell rsandell
            wangjianping Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: