Phishing Protection: Server Spec: Difference between revisions

Jump to navigation Jump to search
Line 223: Line 223:
==== Canonical Hostname Creation ====
==== Canonical Hostname Creation ====


Extract the hostname from the URL (if it's an international domain, we use the ascii representation) and then follow these steps:
Extract the hostname from the URL (if it's an international domain, we use the ascii punycode representation) and then follow these steps:
* Remove all characters that match the following regular expressions:
* Remove all characters that match the following regular expressions:
** "[\x01-\x1f\x7f-\xff]+"
** "[\x01-\x1f\x7f-\xff]+"

Navigation menu