[WebProfilerBundle] Let fetch() cast URL to string
This commit is contained in:
parent
e273d8107e
commit
1a75e8568f
@ -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';
|
||||
|
Reference in New Issue
Block a user