ossa/doc/source/guidelines
Jeremy Stanley b05ba12445 Correct is_safe_path example in guidelines
A previous rework of the directory traversal mitigation example in
I3f8d3760daceb9e62396ae21b0d915ae07eff303 was not correctly cleaned
up, and left some unintended startswith method invocations behind.
Get rid of those, and also correct a wrong parameter name in the
main function while we're at it, as well as fixing some incorrect
indentation.

Change-Id: Ie5347f3b6cc8e689440db0aaf552d52ad37c231c
Closes-Bug: #1928544
2021-07-02 17:15:41 +00:00
..
dg_apply-restrictive-file-permissions.rst Adding a basic testing example 2016-03-16 10:24:47 -07:00
dg_avoid-dangerous-input-parsing-libraries.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00
dg_avoid-shell-true.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00
dg_avoid-unvalidated-redirects.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00
dg_cross-site-request-forgery-csrf.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00
dg_cross-site-scripting-xss.rst Fix docs gate code highlighting warning 2019-04-08 10:29:28 -05:00
dg_move-data-securely.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00
dg_parameterize-database-queries.rst Fix for incorrect MySQLdb escaping example 2018-01-31 21:19:49 +11:00
dg_protect-sensitive-data-in-files.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00
dg_rootwrap-recommendations-and-plans.rst Fix a spelling mistake 2019-01-16 14:13:30 -07:00
dg_strong-crypto.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00
dg_use-oslo-rootwrap-securely.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00
dg_use-subprocess-securely.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00
dg_using-file-paths.rst Correct is_safe_path example in guidelines 2021-07-02 17:15:41 +00:00
dg_using-temporary-files-securely.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00
dg_validate-certificates.rst Import the OSSG secure development guidance 2015-05-15 16:46:46 -07:00