Skip to content

Commit b2fb16a

Browse files
committed
docs: fix text decoration
1 parent 537867a commit b2fb16a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/libraries/security.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ than simply crashing. This can be turned off by editing the following config par
118118

119119
public $redirect = false;
120120

121-
Even when the redirect value is **true**, AJAX calls will not redirect, but will throw an error.
121+
Even when the redirect value is ``true``, AJAX calls will not redirect, but will throw an error.
122122

123123
=======================
124124
CSRF Protection Methods
@@ -148,8 +148,8 @@ you might find helpful that are not related to the CSRF protection.
148148
Tries to sanitize filenames in order to prevent directory traversal attempts and other security threats, which is
149149
particularly useful for files that were supplied via user input. The first parameter is the path to sanitize.
150150

151-
If it is acceptable for the user input to include relative paths, e.g., file/in/some/approved/folder.txt, you can set
152-
the second optional parameter, $relative_path to true.
151+
If it is acceptable for the user input to include relative paths, e.g., **file/in/some/approved/folder.txt**, you can set
152+
the second optional parameter, ``$relativePath`` to ``true``.
153153
::
154154

155155
$path = $security->sanitizeFilename($request->getVar('filepath'));

0 commit comments

Comments
 (0)