Skip to content

Commit 6f01e67

Browse files
authored
Update route_config.dart to allow percent-encoding path
1 parent b3a6959 commit 6f01e67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/go_router_builder/lib/src/route_config.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ mixin _GoRouteMixin on RouteBaseConfig {
219219
return MapEntry<String, String>(pathParameter, valueBuffer.toString());
220220
}),
221221
);
222-
final String location = patternToPath(_basePathForLocation, pathParameters);
222+
final String location = patternToPath(Uri.encodeFull(_basePathForLocation), pathParameters);
223223
return "'$location'";
224224
}
225225

0 commit comments

Comments
 (0)