When trying to fix an error in the code example of an old question for posterity, the editor will not let me save the change because the 'Body cannot contain "http://tinyurl.com/api"
. The TinyURL string is being used in a code example and it not actually linking to content outside of StackOverflow.
Although I imagine this is a very small corner case, would it be worthwhile to ignore URL shorteners that are in code examples?
My question for reference: Generate TinyURL with client side javascript--need CORS workaround
example.com
?AnyURLShorternerHere.com
in the code example, but I also want people to be able to run the code snippet and have it work. I really appreciate all of you making me consider how relevant the API actually is to my question, and now see that allowing URL shorteners in some instances could open the door to abuse.