1

I tried to answer someone's question about a URL format with an example:

http://mysite.com/service.asmx?blah=something

I got an error saying I can't save an answer with http in it. How can I get around this?

Here is the question: @requestmapping feature in pure asp.net

0
5

Use example.com as the domain for sample URLs:

http://example.com/service.asmx?blah=something

to mark them as sample text instead of a 'live' URL (which yours is not). mysite.com is an actual domain, and you should not use it even in sample URLs. The domain is explicitly blocked on Stack Overflow.

example.com (or the .org, .net or .edu variants) on the other hand, is specifically reserved (by RFC 2606) for this very purpose.

3
  • You learn a new thing every day :) – steve cook Mar 20 '14 at 2:32
  • But oddly I can ask a question with it in (see above). – steve cook Mar 20 '14 at 7:37
  • The site name is not blocked here as that would make it needlessly hard to ask questions about the block. – Martijn Pieters Mar 20 '14 at 8:57

Not the answer you're looking for? Browse other questions tagged .