• 
      

    Pass SVN credentials when accepting a self-signed certificate.

    Review Request #6171 — Created July 30, 2014 and submitted — Latest diff uploaded

    Information

    Review Board
    release-2.0.x
    6e5b07f...

    Reviewers

    When accepting a self-signed certificate, the SVN credentials weren't
    being passed. This could result in a breakage for installs that blocked
    anonymous access.

    accept_certificate() is now set up to take the credentials, which the
    form passes. Those are then passed to build_client for SVNTool.

    This fixed some issues I was able to hit with adding repositories with a
    self-signed cert and that required authentication.

    While here, I also fixed a missing space between two sentences in an
    error message that I came across when setting up an environment for
    this.

    Accepted a self-signed cert and saw it immediately add the repository,
    passing a username and password.

    Prior to this, with the configuration I created, I would see it fail on
    occasion after attempting to connect again after the read-only attempt.
    I don't know if this was some bug or some connection limiting on my SVN
    server, but this solved it, and is more correct anyway.