rlalfo / google-http-java-client

Automatically exported from code.google.com/p/google-http-java-client
0 stars 0 forks source link

URL inline authentication removed #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-http-java-client (e.g. 1.5.0-beta)?
1.12.0-beta

Java environment (e.g. Java 6, Android 2.3, App Engine)?
Java 7

Describe the problem.
Inline authentication is broken.

How would you expect it to be fixed?
        final String jobs = "https://bootstraponline:0000-000-000-000-000@saucelabs.com/rest/v1/bootstraponline/jobs?full=true";

        final URI u = new URI(jobs);
        System.out.println(u.toString().contentEquals(jobs)); // true

        final GenericUrl url = new GenericUrl(jobs);
        System.out.println(url.toString().contentEquals(jobs)); // false
        System.out.println(url); // https://saucelabs.com/rest/v1/bootstraponline/jobs?full=true

URL should not be modified.

Original issue reported on code.google.com by m...@bootstraponline.com on 18 Dec 2012 at 10:37

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 24 Jan 2013 at 2:25

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 9 Apr 2013 at 2:07

GoogleCodeExporter commented 9 years ago
https://codereview.appspot.com/8586043/

Original comment by pele...@google.com on 9 Apr 2013 at 6:02

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 12 Apr 2013 at 3:28