ProtectEmail

Testing
Testing the email schema used to test Cookbook:DeObMail at a site where it is emabled[1]. Checking that PmWiki displays all schema correctly

Test this page at https://seositecheckup.com/seo-audit/plaintext-emails-test/pmwiki.org/wiki/Test.ProtectEmail

  1. example1 [snail] example [period] com - simplest example
  2. example2 [snail] example [period] com - simplest example [in brackets]
  3. 3example [snail] example [period] com - email addresses can start with a digit
  4. 4example [snail] example [period] com - email addresses can start with a digit [in brackets]
  5. example5 [snail] example [period] com?subject=test - with a field name
  6. example6 [snail] example [period] com?subject=test - with a field name [in brackets]
  7. example7 [snail] example [period] com?cc=example7a [snail] example [period] com&body=test - with two field names
  8. example8 [snail] example [period] com?cc=example8a [snail] example [period] com&body=test - with two field names [in brackets]
  9. example9a -> mailto:example9 [snail] example [period] com - with text display [in brackets]
  10. example10a -> mailto:example10 [snail] example [period] com - also with text display [in brackets]
  11. example11 [snail] example [period] com - hiding mailto link [in brackets]
  12. example12 -> mailto:example12 [snail] example [period] com - hiding domain name [in brackets]
  13. example13 [snail] example -> mailto:example13 [snail] example [period] com - hiding both [in brackets]
  14. example14@example.com - existing obfustication
  15. example15@example.com - existing obfustication [in brackets]

note that (:markup:) can't be used because it displays the emails addresses in clear

See RFC 1738 Uniform Resource Locators (URL), RFC 822 Standard for the format of ARPA Internet test messages - section 6 Address Specification, RFC 2822 Internet message format

Array
(
    [post_max_size] => 64M
    [$_POST keys] => 
    [$_REQUEST keys] => n
    [$_SERVER] => Array
        (
            [CONTEXT_DOCUMENT_ROOT] => /home/pmwiki/public_html
            [CONTEXT_PREFIX] => 
            [DOCUMENT_ROOT] => /home/pmwiki/public_html
            [GATEWAY_INTERFACE] => CGI/1.1
            [HTTPS] => on
            [HTTP_ACCEPT] => */*
            [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
            [HTTP_COOKIE] => PHPSESSID=mijnoo87v0orf0l7l73kvvgc51
            [HTTP_HOST] => www.pmwiki.org
            [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
            [HTTP_X_HTTPS] => 1
            [PATH] => /bin:/usr/bin
            [PHP_INI_SCAN_DIR] => /opt/cpanel/ea-php70/root/etc:/opt/cpanel/ea-php70/root/etc/php.d:.
            [QUERY_STRING] => n=Test%2fProtectEmail
            [REDIRECT_HTTPS] => on
            [REDIRECT_QUERY_STRING] => n=Test%2fProtectEmail
            [REDIRECT_SCRIPT_URI] => https://www.pmwiki.org/wiki/Test/ProtectEmail
            [REDIRECT_SCRIPT_URL] => /wiki/Test/ProtectEmail
            [REDIRECT_SSL_TLS_SNI] => www.pmwiki.org
            [REDIRECT_STATUS] => 200
            [REDIRECT_UNIQUE_ID] => afH3Mb87EG4_jeYOog1TwgAAAVc
            [REDIRECT_URL] => /wiki/Test/ProtectEmail
            [REMOTE_ADDR] => 216.73.216.31
            [REMOTE_PORT] => 45653
            [REQUEST_METHOD] => GET
            [REQUEST_SCHEME] => https
            [REQUEST_URI] => /wiki/Test/ProtectEmail
            [SCRIPT_FILENAME] => /home/pmwiki/public_html/index.php
            [SCRIPT_NAME] => /index.php
            [SCRIPT_URI] => https://www.pmwiki.org/wiki/Test/ProtectEmail
            [SCRIPT_URL] => /wiki/Test/ProtectEmail
            [SERVER_ADDR] => 23.254.203.248
            [SERVER_ADMIN] => webmaster@pmwiki.org
            [SERVER_NAME] => www.pmwiki.org
            [SERVER_PORT] => 443
            [SERVER_PROTOCOL] => HTTP/1.1
            [SERVER_SIGNATURE] => 
            [SERVER_SOFTWARE] => Apache
            [SSL_TLS_SNI] => www.pmwiki.org
            [TZ] => America/Los_Angeles
            [UNIQUE_ID] => afH3Mb87EG4_jeYOog1TwgAAAVc
            [PHP_SELF] => /index.php
            [REQUEST_TIME_FLOAT] => 1777465137.5432
            [REQUEST_TIME] => 1777465137
            [argv] => Array
                (
                    [0] => n=Test%2fProtectEmail
                )

            [argc] => 1
        )

)
 0: 00.00 00.00 EnablePost = 1, keys=
 1: 00.00 00.00 config start
 2: 00.01 00.01 config end
 3: 00.03 00.03 MarkupToHTML begin
 4: 00.04 00.04 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 5: 00.05 00.04 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 6: 00.16 00.14 MarkupToHTML end
 7: 00.16 00.15 MarkupToHTML begin
 8: 00.18 00.16 MarkupToHTML end
 9: 00.18 00.16 MarkupToHTML begin
10: 00.18 00.16 MarkupToHTML end
11: 00.18 00.16 now
Peak memory: 3,898,968 bytes