Closed
Description
const openBrowser = require('react-dev-utils/openBrowser')
const url = 'https://example.com?lattest=22&lngtest=33'
openBrowser(url)
I want to open url 'https://example.com?lattest=22&lngtest=33', but actually the url of opening tab is
'https://example.com/?lattest=22'
node: 7.6.0
os: darwin
Activity
gaearon commentedon May 1, 2017
Interesting. Any idea why that happens? Is there some escaping we need to do?
react-dev-utils/openBrowser now supports urls with 2+ params (#2076)
react-dev-utils/openBrowser now supports urls with 2+ params (faceboo…
Merge upstream create-react-app v1.0.7 (#90)
react-dev-utils/openBrowser now supports urls with 2+ params (faceboo…