| Index: sdk/lib/_internal/pub/lib/src/oauth2.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/oauth2.dart b/sdk/lib/_internal/pub/lib/src/oauth2.dart
|
| index eb65e372d92295e4324f13fc26958818b534f218..b1edba05d9bb1b393d5ef947f97d0a7a82ae5c0d 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/oauth2.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/oauth2.dart
|
| @@ -172,12 +172,12 @@ Future<Client> _authorize() {
|
| var server;
|
| var completer = new Completer();
|
| shelf_io.serve((request) {
|
| - if (request.pathInfo != "/") {
|
| + if (request.url.path != "/") {
|
| return new shelf.Response.notFound('Invalid URI.');
|
| }
|
|
|
| log.message('Authorization received, processing...');
|
| - var queryString = request.queryString;
|
| + var queryString = request.url.query;
|
| if (queryString == null) queryString = '';
|
|
|
| // Closing the server here is safe, since it will wait until the response is
|
|
|