{"id":38463,"date":"2004-07-13T07:00:00","date_gmt":"2004-07-13T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2004\/07\/13\/watch-out-for-those-sample-urls\/"},"modified":"2004-07-13T07:00:00","modified_gmt":"2004-07-13T07:00:00","slug":"watch-out-for-those-sample-urls","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20040713-00\/?p=38463\/","title":{"rendered":"Watch out for those sample URLs"},"content":{"rendered":"<p>When writing documentation, one often has need to come up with  a sample URL to illustrate some point or other.  When you do, <strong>make sure the sample URL is under your control<\/strong>.\n  I remember a Windows beta that used the sample URL  http:\/\/www.xxxxx.com\/ in a dialog box.  You can imagine where that actually goes.\n  <a href=\"http:\/\/www.iron.net\/www\/userguide\/configuration.html\">  This web site uses www.wallyworld.com as a sample URL<\/a>.  Perhaps they didn&#8217;t realize that it&#8217;s a gay porn site.\n  (Raymond&#8217;s strange dream story:  One night I dreamt that I found  a web site that had a complete <a href=\"http:\/\/www.dilbert.com\/\">Dilbert<\/a>  archive, and for some reason the name of the site was  &#8220;<a href=\"http:\/\/www.dilbert.com\/comics\/dilbert\/the_characters\/html\/character2.html#wally\">Wally<\/a>  World&#8221;.  In the morning, I checked out the site and was in for a big  surprise&#8230;)<\/p>\n<p>  So play it safe. When you need a sample URL, don&#8217;t just make something  up. If you do, odds are good that somebody is going to rush in and  register it.  Make your sample URLs point back to your company&#8217;s  home page, or use  <a href=\"http:\/\/www.example.com\">http:\/\/www.example.com<\/a>, which the IANA  <a href=\"http:\/\/rfc.net\/rfc2606.html#s3.\">  has reserved for use in sample URLs<\/a>.  If that&#8217;s too dorky, you can always go out and register the domain  you want to use as your sample, so that nobody else can sneak in and  steal it.  (This does have the problem of incurring renewal fees.)  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>When writing documentation, one often has need to come up with a sample URL to illustrate some point or other. When you do, make sure the sample URL is under your control. I remember a Windows beta that used the sample URL http:\/\/www.xxxxx.com\/ in a dialog box. You can imagine where that actually goes. This [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[2],"class_list":["post-38463","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-history"],"acf":[],"blog_post_summary":"<p>When writing documentation, one often has need to come up with a sample URL to illustrate some point or other. When you do, make sure the sample URL is under your control. I remember a Windows beta that used the sample URL http:\/\/www.xxxxx.com\/ in a dialog box. You can imagine where that actually goes. This [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/38463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=38463"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/38463\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=38463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=38463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=38463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}