Skip to content
Myr

docs: ``http://...``

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by defuz · committed by defuz · parent 974e144 · Browse files · 2 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−4 removed

  • other:+4 added−4 removed

2 files+4 added−4 removed

modified:docs/installation.rst+2 added-2 removed
160 unmodified lines
161and :command:`python` which will run those things, but this might not automatically happen162on Windows, because it doesn't know where those executables are (give either a try!).163164To fix this, you should be able to navigate to your Python install directory165(e.g ``C:\Python27``), then go to ``Tools``, then ``Scripts``; then find the166``win_add2path.py`` file and run that. Open a **new** Command Prompt and165(e.g :file:`C:\Python27`), then go to :file:`Tools`, then :file:`Scripts`; then find the166:file:`win_add2path.py` file and run that. Open a **new** Command Prompt and167check that you can now just type :command:`python` to bring up the interpreter.168169Finally, to install `virtualenv`_, you can simply run::170
6 unmodified lines
modified:docs/security.rst+2 added-2 removed
23 unmodified lines
2425- generating HTML without the help of Jinja226- calling :class:`~flask.Markup` on data submitted by users27- sending out HTML from uploaded files, never do that, use the28 `Content-Disposition: attachment` header to prevent that problem.28 ``Content-Disposition: attachment`` header to prevent that problem.29- sending out textfiles from uploaded files. Some browsers are using30 content-type guessing based on the first few bytes so users could31 trick a browser to execute HTML.32
37 unmodified lines
70application's users with social engineering to do stupid things without71them knowing.7273Say you have a specific URL that, when you sent ``POST`` requests to will74delete a user's profile (say `http://example.com/user/delete`). If an74delete a user's profile (say ``http://example.com/user/delete``). If an75attacker now creates a page that sends a post request to that page with76some JavaScript they just has to trick some users to load that page and77their profiles will end up being deleted.78
97 unmodified lines