Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix typo and formatting in security docs #531

Merged
merged 1 commit into from

3 participants

@aboks

No description provided.

@doctrinebot
Collaborator

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DBAL-820

We use Jira to track the state of pull requests and the versions they got
included in.

@deeky666 deeky666 merged commit 3c3a4b1 into doctrine:master
@aboks aboks deleted the aboks:patch-1 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 21, 2014
  1. @aboks
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/en/reference/security.rst
View
4 docs/en/reference/security.rst
@@ -66,7 +66,9 @@ SQL or DQL query. For Example:
An attacker could inject any value into the GET variable "username" to modify the query to his needs.
Although DQL is a wrapper around SQL that can prevent you from some security implications, the previous
-example is also a thread to DQL queries.
+example is also a threat to DQL queries.
+
+.. code-block:: php
<?php
// DQL is not safe against arbitrary user-input as well:
Something went wrong with that request. Please try again.