diff --git a/flask.py b/flask.py index 055b46cf..89a4fee5 100644 --- a/flask.py +++ b/flask.py @@ -261,7 +261,7 @@ def _get_package_path(name): def _tojson_filter(string, *args, **kwargs): """Calls dumps for the template engine, escaping Slashes properly.""" - return json.dumps(string, *args, **kwargs).replace('/', '\\/') + return json.dumps(string, *args, **kwargs).replace('