1. ..
im Pfad gültig ist (example.com/v.b.w..com
):
RFC 3986 erlaubt es, und sogar listet es in seiner abnormal examples :
Within a representation with a well defined base URI of
http://a/b/c/d;p?q
a relative reference is transformed to its target URI as follows.
⋮
"g.." = "http://a/b/c/g.."
"..g" = "http://a/b/c/..g"
Beachten Sie, dass /../
nicht b e gültig, weil die URL so interpretiert werden würde, dass sie einen relativen Teil hat - ein Link zu a/b/../c
ist wie ein Link zu a/c
.
2. ..
in der Sub-Domain ist ungültig (http://no..bad.example.com
):
Von RFC 1738 - Uniform Resource Locators (URL), Abschnitt 5, BNF für bestimmte URL-Schemata:
host = hostname | hostnumber
hostname = *[ domainlabel "." ] toplabel
domainlabel = alphadigit | alphadigit *[ alphadigit | "-" ] alphadigit
nur eine einzige Periode zwischen Token erlaubt.