diff --git a/lib/src/in_app_localhost_server.dart b/lib/src/in_app_localhost_server.dart index 96b4fdab..8e20961d 100755 --- a/lib/src/in_app_localhost_server.dart +++ b/lib/src/in_app_localhost_server.dart @@ -86,7 +86,7 @@ class InAppLocalhostServer { path = _documentRoot + path; try { - body = (await rootBundle.load(path)).buffer.asUint8List(); + body = (await rootBundle.load(Uri.decodeFull(path))).buffer.asUint8List(); } catch (e) { print(e.toString()); request.response.close();