Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: pkg/oauth2/lib/src/client.dart

Issue 14135014: Adding Uri.parse to AuthorizationException (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Moving to next line Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/oauth2/lib/src/client.dart
diff --git a/pkg/oauth2/lib/src/client.dart b/pkg/oauth2/lib/src/client.dart
index ec8dda5f2f9eca867d19b8afb34e54654343503f..62a06cad16e84c0378f9f59390f15113cef23b23 100644
--- a/pkg/oauth2/lib/src/client.dart
+++ b/pkg/oauth2/lib/src/client.dart
@@ -109,7 +109,8 @@ class Client extends http.BaseClient {
if (!params.containsKey('error')) return response;
throw new AuthorizationException(
- params['error'], params['error_description'], params['error_uri']);
+ params['error'], params['error_description'],
+ Uri.parse(params['error_uri']));
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698