You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/validators/csrf.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ The typical mitigation is to create a one-time token that is transmitted as part
9
9
This token expires after first submission or after a short amount of time, preventing replays or further submissions.
10
10
If the token provided does not match what was originally sent, an error should be returned.
11
11
12
+
<!-- markdownlint-disable-next-line MD001 -->
12
13
> ### Installation Requirements
13
14
>
14
15
> The CSRF validator depends on [laminas-math](https://docs.laminas.dev/laminas-math/) to generate the hash and on [laminas-session](https://docs.laminas.dev/laminas-session/) to persist the generated token between requests.
Copy file name to clipboardExpand all lines: docs/book/validators/email-address.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,11 @@ using `setOptions()`. The following options are supported:
34
34
in conjunction with the hostnameValidator option to set the hostname validator.
35
35
Possible values of this option defined in [Hostname](hostname.md) validator's
36
36
`ALLOW_*` constants:
37
-
-`ALLOW_DNS` (default) - Allows Internet domain names _(e.g. example.com)_
38
-
-`ALLOW_IP` - Allows IP addresses _(e.g. 192.168.0.1)_
39
-
-`ALLOW_LOCAL` - Allows local network such as _localhost_ or _www.localdomain_
40
-
-`ALLOW_URI` - Allows hostnames in URI generic syntax. See [RFC 3986](https://www.ietf.org/rfc/rfc3986.txt)
41
-
-`ALLOW_ALL` - Allows all types of hostnames
37
+
-`ALLOW_DNS` (default) - Allows Internet domain names _(e.g. example.com)_
38
+
-`ALLOW_IP` - Allows IP addresses _(e.g. 192.168.0.1)_
39
+
-`ALLOW_LOCAL` - Allows local network such as _localhost_ or _www.localdomain_
40
+
-`ALLOW_URI` - Allows hostnames in URI generic syntax. See [RFC 3986](https://www.ietf.org/rfc/rfc3986.txt)
41
+
-`ALLOW_ALL` - Allows all types of hostnames
42
42
43
43
-`useDeepMxCheck`: Defines if the servers MX records should be verified by a deep check.
44
44
When this option is set to `true` then additionally to MX records also the `A`,
@@ -54,7 +54,6 @@ using `setOptions()`. The following options are supported:
54
54
option is defined to `true` then the MX records are used to verify if the
55
55
server accepts emails. This option defaults to `false`.
56
56
57
-
58
57
## Complex local parts
59
58
60
59
`Laminas\Validator\EmailAddress` will match any valid email address according to
0 commit comments