31

When you paste a link into the "Insert Hyperlink" box, it adds it automatically as a citation link:

[Example 1][1]

  [1]: http://example.com

But when you paste a link starting with a space , it tries to URL encode it, to change the space to %20, and then sticks a http:// on the front to make it a valid link:

[Example 2][2]

  [2]: http://%20http://example.com

This, however, means the link doesn't work.

enter image description here

Please could leading whitespace be stripped from the URL?

  • Unrelated but what tool did you use to make the gif? Was it a simple process? I'd be curious :-) – enderland Jan 18 '16 at 1:32
  • 1
    @enderland: I don't have idea about which tool Tim used. But there is a tool called Licecap can do the same. – Arulkumar Jan 18 '16 at 6:21
  • 5
    In case it's not obvious, there are a lot of people who use the "insert link" box and copy-paste in a link with a leading space. This leads to a large amount of broken links. See e.g. this SEDE query: data.stackexchange.com/stackoverflow/revision/688578/858478/… ... or this Stackoverflow query: stackoverflow.com/… – tripleee Jun 27 '17 at 9:32
  • @enderland Fwiw (old comment) I'm a huge fan of screentogif.com, myself. Also, regardless of tool used, if the gifs turn out too big another good post-processing workflow tool is ezgif.com/optimize. – Jason C Jun 27 '17 at 15:02
  • @enderland this was Peek for Ubuntu. LiceCap is excellent on Windows. – Tim Jun 27 '17 at 17:23
  • 3
    @Mari-LouA yeah I guess I am. meta.stackoverflow.com/questions/390301#comment733925_390306 summaries my feelings here. Pointing out the fact that I’m borderline spamming, but nobody can roll back my edits because adding noise is now a totally valid thing to do! At least this time I’m only vandalising my own posts (and it’s permissible vandalism because SO corporate don’t understand the consequences of their policies). – Tim Oct 15 at 20:44
  • @glo please don’t roll back my edits like that. – Tim 2 days ago

You must log in to answer this question.

Browse other questions tagged .