Escape slashes in compare URLs with semicolon

Pull in Hub compatible fixes in https://github.com/github/hub/commit/f60fb89274d276034e5c7c2d65f27d36dcfac685