添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Uri.parse auto replacing '+' with space in queryParameters #49462

@viJay-beep-code

Description

Below sample code is auto replacing '+' character in a query parameter with space, when fetching value using queryParameters.

Uri uri = Uri.parse('https://test.com/parse?code=sf+sf+/fd3' );
print(uri.query); //print - code=sf+sf+/fd3
print(uri.queryParameters['code']); //prints - sf sf /fd3

How to solve this?