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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,6 @@ Documentation
48
48
49
49
### Domain name resolution
50
50
51
-
52
51
In order to resolve a domain name one we must:
53
52
54
53
- Convert the Public Suffix List (PSL) into a structure usable in PHP
@@ -97,6 +96,7 @@ Domain name resolution is done using the `Pdp\Rules::resolve` method which expec
97
96
98
97
By default, the `$section` argument is equal to `Rules::ALL_DOMAINS`. If an unsupported section is submitted a `Pdp\Exception` exception will be thrown.
99
98
99
+
**WARNING: The `Pdp\Rules::resolve` does not validate the submitted host. You are require to use a host validator prior to using this library.**
100
100
101
101
The `Pdp\Rules::resolve` returns a `Pdp\Domain` object.
0 commit comments