jywarren / plots2

The Public Lab website!
http://publiclab.org
GNU General Public License v3.0
17 stars 2 forks source link

Hyperlink parsed wrong #202

Closed Fastie closed 10 years ago

Fastie commented 10 years ago

In the first paragraph of this note: http://publiclab.org/notes/cfastie/10-24-2013/mentor-summit, the markdown link: [ca. 170 organizations](www.google-melange.com/gsoc/projects/list/google/gsoc2013) parses to: http://publiclab.org/notes/cfastie/10-24-2013/www.google-melange.com/gsoc/projects/list/google/gsoc2013 instead of: www.google-melange.com/gsoc/projects/list/google/gsoc2013

Most bizarre.

Fastie commented 10 years ago

Oh, there has to be http:// in front of the www.

btbonval commented 10 years ago

Thanks Chris! I was going to reply to this, then got distracted by everything on the internet. I kind of feel like a jerk, but I'm glad you figured it out.

There are some sites which include full hostnames and such into the URL, like at wayback machine: http://web.archive.org/web/*/http://publiclab.org

It can be hard to know whether a URL is relative to the hostname (e.g. publiclab.org/www.google.com/etc) or if the URL is meant to be absolute ( http://www.google.com/etc). The general assumption is that URLs are relative unless they have the protocol in front; in this case, http://

On Thu, Oct 24, 2013 at 10:30 AM, Fastie notifications@github.com wrote:

Closed #202 https://github.com/jywarren/plots2/issues/202.

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/plots2/issues/202 .