url pasted params parsed incorrectly

How to reproduce

  1. create a new http request

  2. just paste url https://httpbin.org/get?a=1 in the url-bar

What happened:

url params not be parsed, but view fouce on param tab.

Reason

After I pasted the url, at first UrlBar#onPasteOverwrite was triggered. This hook parsed url with params correctly. But then, UrlBar#onUrlChange was triggered. onUrlChange only used the raw whole url as param without parsing.

Eventually the wrong update overwrites the previous correct update.

Please authenticate to join the conversation.

Upvoters
Status

Released

Board

Feedback

Tags

Bug

Date

4 months ago

Author

Hao Xiang

Subscribe to post

Get notified by email when there are changes.