[WebProfilerBundle] Let fetch() cast URL to string

This commit is contained in:
Roland Franssen 2017-12-19 13:12:38 +01:00
parent e273d8107e
commit 1a75e8568f

View File

@ -250,6 +250,8 @@
mode: arguments[0].mode,
redirect: arguments[0].redirect
};
} else {
url = String(url);
}
if (!url.match(new RegExp({{ excluded_ajax_paths|json_encode|raw }}))) {
var method = 'GET';