Skip to content

Commit 525c2d3

Browse files
committed
improve documentation
1 parent 24e9b5e commit 525c2d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ Documentation
4848

4949
### Domain name resolution
5050

51-
5251
In order to resolve a domain name one we must:
5352

5453
- 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
9796

9897
By default, the `$section` argument is equal to `Rules::ALL_DOMAINS`. If an unsupported section is submitted a `Pdp\Exception` exception will be thrown.
9998

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.**
100100

101101
The `Pdp\Rules::resolve` returns a `Pdp\Domain` object.
102102

0 commit comments

Comments
 (0)