uri.7: Use "example.com" as example domain

The owner of the "xyz.com" domain might not be happy that their
domain is used in examples. RFC 2606 reserves (among others)
"example.com" for this purpose, so let's use it.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
This commit is contained in:
Jakub Wilk 2016-10-08 16:20:44 +02:00 committed by Michael Kerrisk
parent a8c5e65ffd
commit ffc3e08c2f
1 changed files with 2 additions and 2 deletions

View File

@ -124,8 +124,8 @@ The
is the name of the host computer, either its name as determined by DNS
or an IP address (numbers separated by periods).
Thus the URI
<http://fred:fredpassword@xyz.com:8080/>
logs into a web server on host xyz.com
<http://fred:fredpassword@example.com:8080/>
logs into a web server on host example.com
as fred (using fredpassword) using port 8080.
Avoid including a password in a URI if possible because of the many
security risks of having a password written down.