mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
07cffe92c6
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. |
||
---|---|---|
.. | ||
account-import-strategies | ||
controllers | ||
lib | ||
migrations | ||
platforms | ||
background.js | ||
chromereload.js | ||
contentscript.js | ||
first-time-state.js | ||
inpage.js | ||
metamask-controller.js | ||
phishing-detect.js | ||
ui.js |