We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 880a4aa commit 069048dCopy full SHA for 069048d
lib/src/objects/parse_session.dart
@@ -29,12 +29,9 @@ class ParseSession extends ParseObject implements ParseCloneable {
29
30
Future<ParseResponse> getCurrentSessionFromServer() async {
31
try {
32
- final Uri tempUri = Uri.parse(_client.data.serverUrl);
33
34
- final Uri url = Uri(
35
- scheme: tempUri.scheme,
36
- host: tempUri.host,
37
- path: '${tempUri.path}$keyEndPointSessions/me');
+ const String path = '$keyEndPointSessions/me';
+ final Uri url = getSanitisedUri(_client, path);
38
39
final Response response = await _client.get(url);
40
0 commit comments