From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Org links, URLs and HTML export Date: Tue, 23 Aug 2016 18:30:34 +0200 Message-ID: <87k2f7v45x.fsf@Rainer.invalid> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcEbG-0006Mf-Sd for emacs-orgmode@gnu.org; Tue, 23 Aug 2016 12:30:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcEbC-00028Y-MY for emacs-orgmode@gnu.org; Tue, 23 Aug 2016 12:30:53 -0400 Received: from [195.159.176.226] (port=33522 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcEbC-00025w-F1 for emacs-orgmode@gnu.org; Tue, 23 Aug 2016 12:30:50 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bcEb4-0003aE-DR for emacs-orgmode@gnu.org; Tue, 23 Aug 2016 18:30:42 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Fabrice Popineau writes: > I can insert : [[http:bar.html]] > However, I would like to be able to insert any kind of relative url. > Specifically, there is no mean to insert something > like : [[http:/bar.html]] which is exported to > The corresponding export should be But that's an absolute URL, provided a well-defined base URI exists (the authority is implied and the path component starts with a slash, so it would start in the root). > Strangely, some browsers grok the former (Chrome), but not all of them > (Safari). Then Safari either has a bug or it determines the base URI differently than Chrome. > Anyway, only the later is correct. I don't think so. You might want to read https://tools.ietf.org/html/rfc3986 specifically the part about the translation of relative URI. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada