flask/flask
garenchan c38499bbf2 ignore colon with slash when split app_import_path
Flask currently supports importing app through a combination of module
path and app variable name, such as '/usr/app.py:my_app'. When the
module path contains a colon, it will conflict with this import way and
a `flask.cli.NoAppException` will be raised.

A file path on a Windows system may contain a colon followed by a slash.
So we solved this problem on Windows by ignoring the colon followed by a
slash when we split app_import_path.

Fix issue #2961.
2018-10-24 23:47:41 +08:00
..
json Fix index example for TaggedJSONSerializer.register() 2018-04-19 14:16:11 +01:00
__init__.py Bump version number to 1.0.3.dev 2018-05-02 07:16:58 -07:00
__main__.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
_compat.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
app.py check FLASK_SKIP_DOTENV in app.run 2018-04-29 18:45:50 -07:00
blueprints.py add more merge cases 2018-05-01 13:29:48 -07:00
cli.py ignore colon with slash when split app_import_path 2018-10-24 23:47:41 +08:00
config.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
ctx.py rework context docs 2018-04-09 00:02:38 -07:00
debughelpers.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
globals.py rework context docs 2018-04-09 00:02:38 -07:00
helpers.py encode filenames as ascii instead of latin-1 2018-05-28 06:36:47 -07:00
logging.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
sessions.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
signals.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
templating.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
testing.py rework context docs 2018-04-09 00:02:38 -07:00
views.py revert copyright year to project start 2018-02-08 12:43:30 -08:00
wrappers.py add Response.max_cookie_size config 2018-04-10 11:17:18 -07:00