From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8622: 24.0.50; url-parse does not implement RFC3986 5.2 Date: Sun, 15 Apr 2018 22:14:18 +0200 Message-ID: <87d0z08bxh.fsf@mouse.gnus.org> References: <87y5xv5ls1.fsf@keller.adm.naquadah.org> <87litv5eiv.fsf@keller.adm.naquadah.org> <87ehzn5ccp.fsf@keller.adm.naquadah.org> <877h5f5b3y.fsf@keller.adm.naquadah.org> <8739g35a2w.fsf@keller.adm.naquadah.org> <87y5xv3v0k.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523823188 23553 195.159.176.226 (15 Apr 2018 20:13:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2018 20:13:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 8622@debbugs.gnu.org, Andreas Schwab To: Julien Danjou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 15 22:13:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7o1H-00060B-V0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Apr 2018 22:13:04 +0200 Original-Received: from localhost ([::1]:40158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7o3O-0003Wc-Gj for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Apr 2018 16:15:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7o3H-0003UK-8f for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 16:15:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7o3C-0006Ld-AQ for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 16:15:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f7o3C-0006LW-6Z for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 16:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f7o3B-0003GP-Sn for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 16:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Apr 2018 20:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8622 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8622-submit@debbugs.gnu.org id=B8622.152382328012500 (code B ref 8622); Sun, 15 Apr 2018 20:15:01 +0000 Original-Received: (at 8622) by debbugs.gnu.org; 15 Apr 2018 20:14:40 +0000 Original-Received: from localhost ([127.0.0.1]:54574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7o2n-0003FU-4s for submit@debbugs.gnu.org; Sun, 15 Apr 2018 16:14:40 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:38933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7o2i-0003FI-4u for 8622@debbugs.gnu.org; Sun, 15 Apr 2018 16:14:35 -0400 Original-Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f7o2b-0007z8-Ax; Sun, 15 Apr 2018 22:14:29 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f7o2V-0005CF-9J; Sun, 15 Apr 2018 22:14:19 +0200 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 11 Sep 2011 18:34:47 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145409 Archived-At: Lars Magne Ingebrigtsen writes: > However, as a practical issue, it might make sense to just do what > Firefox does, which is probably "best practise". If for no other reason > than that Firefox does it. > > It will strip "../" and "./" from the front of the local part of all > URLs, according to tcpdump. I've checked Chromium, too, and it does the same. I think it might make sense for eww to strip the "../" things, and leave url-parse at it is, since it should be standards-compliant, and the standards don't seem to say anything about this. I'll tweak eww. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no