decode pathName when extracting from url

This commit is contained in:
Nick Lockwood 2015-05-11 12:54:07 -07:00 committed by Christopher Chedeau
parent f8b36491d7
commit 6b2c88feec
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ function getOptionsFromUrl(reqUrl) {
// node v0.11.14 bug see https://github.com/facebook/react-native/issues/218
urlObj.query = urlObj.query || {};
var pathname = urlObj.pathname;
var pathname = decodeURIComponent(urlObj.pathname);
// Backwards compatibility. Options used to be as added as '.' to the
// entry module name. We can safely remove these options.