1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Mark Stacey 07cffe92c6
Fix ENS resolution of .eth URLs with query strings (#9674)
Our ENS resolver for the browser address bar was incorrectly resolving
addresses that included query strings. We were concatenating the `path`
property with the `search` property, despite the fact that the `path`
property already contains `search`. As a result, `search` was
duplicated in the resolved addresses.

For example, if an IPFS content ID was found for this address, the
resolved address for `metamask.eth/?foo=bar` would have the path
`/?foo=bar?foo=bar`

The original intent was likely to use `pathname` in place of `path`.
The resolver has been updated to use `pathname`, and the query string
now appears only once in the resolved address.
2020-10-22 10:45:26 -02:30
..
account-import-strategies Fix prefer-spread issues (#9203) 2020-08-12 20:42:07 -02:30
controllers consolidate segment setup (#9617) 2020-10-21 16:10:55 -05:00
lib Fix ENS resolution of .eth URLs with query strings (#9674) 2020-10-22 10:45:26 -02:30
migrations Remove incorrect Migrator comment (#9659) 2020-10-20 11:34:55 -02:30
platforms Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
background.js Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
chromereload.js Fix console.error references 2016-08-29 17:32:39 -07:00
contentscript.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
first-time-state.js Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
inpage.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
metamask-controller.js consolidate segment setup (#9617) 2020-10-21 16:10:55 -05:00
phishing-detect.js Fix import/order issues (#9239) 2020-08-18 16:48:25 -02:30
ui.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30