From unknown Tue Aug 19 23:11:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21158: Emacs 24.5.1; w32-shell-execute broken on long URLs Resent-From: Wanrong Lin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jul 2015 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21158 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21158@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14382025259481 (code B ref -1); Wed, 29 Jul 2015 20:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jul 2015 20:42:05 +0000 Received: from localhost ([127.0.0.1]:33905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKYAu-0002Sr-BH for submit@debbugs.gnu.org; Wed, 29 Jul 2015 16:42:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45407) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKY37-0002HC-Mo for submit@debbugs.gnu.org; Wed, 29 Jul 2015 16:34:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKY36-0007pK-AM for submit@debbugs.gnu.org; Wed, 29 Jul 2015 16:34:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKY36-0007pE-81 for submit@debbugs.gnu.org; Wed, 29 Jul 2015 16:34:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKY35-0003Fq-1d for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2015 16:34:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKY31-0007lA-Ud for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2015 16:33:58 -0400 Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:35943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKY31-0007iA-Hi for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2015 16:33:55 -0400 Received: by lagw2 with SMTP id w2so13347824lag.3 for ; Wed, 29 Jul 2015 13:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HjL0aKgt2E4sp/B+jBD99aZil6uIWxekqcybcXvxPKo=; b=F9dht5b9/+H6tk8oy4+UhfSbwX0iX8RaYPWylUk7Fx0GUgv4WYr2rVxRpRdhZMe9o9 Y6AoNAoJnlZ45EVRYLSYc5EcwmwdE5kVPV2kJz8Kn/K2+BIA7+6n4vfB/y1eNn51w9Tn 2yO5zpohIyz5tEnqQIVVanqbG2fROKNcBBclAb6ls5n12rOiKpIheLzJnJkOHmaycla7 ASvXmg2frx7YV9IqKYnv4A62Y1almnJZKlE+temj9TfuGEyy058zHQSGye88qbff5blP 1I/NJR+hma/lHLiMhluJOd3XIpf9EE/4sEz5tInu2M6XYEXnsFQAHviFeUIsUzv9hjFo APgg== MIME-Version: 1.0 X-Received: by 10.112.224.4 with SMTP id qy4mr40813611lbc.20.1438202033717; Wed, 29 Jul 2015 13:33:53 -0700 (PDT) Received: by 10.25.162.8 with HTTP; Wed, 29 Jul 2015 13:33:53 -0700 (PDT) Date: Wed, 29 Jul 2015 16:33:53 -0400 Message-ID: From: Wanrong Lin Content-Type: multipart/alternative; boundary=001a11345f3255c9fc051c098154 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Wed, 29 Jul 2015 16:42:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a11345f3255c9fc051c098154 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable With this version: GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 On Windows 7 professional, In scratch buffer, evaluate the following: (w32-shell-execute "open" " http://sage/rnd/rndprojects/myproject/Project%20Management/Forms/AllItems.a= spx?RootFolder=3D%2frnd%2frndprojects%2fHNJ%2dHEVC%2fProject%20Management%2= f%5fMeeting%20Minutes&FolderCTID=3D0x01200091670F1D770B314A8F69FA9D507AF4A9= &View=3D%7b6AD90071%2dEB9F%2d4E1D%2d9250%2d282C8580F2F1%7d ") Now if you check the actual URL sent to the browser, some garbage will appear at the end of the URL. If you shorten the URL (to a point), that does not happen. I verified at least with Emacs 24.3 there is no such issue. PS: I feel Emacs release quality has been dropping over the years. Wish this can change. Thanks. --001a11345f3255c9fc051c098154 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
With this version:
GNU Emacs 24.5.1 (i686-pc-mingw32)
=C2=A0of 2015-04-11 on LEG570

On Windows 7 professional,

In scratch buffer, evaluate the following:

(w32-shell-execute "open"=20 "http://sage/rnd/rndprojects/myproject/Project%20Management/Forms/= AllItems.aspx?RootFolder=3D%2frnd%2frndprojects%2fHNJ%2dHEVC%2fProject%20Ma= nagement%2f%5fMeeting%20Minutes&FolderCTID=3D0x01200091670F1D770B314A8F= 69FA9D507AF4A9&View=3D%7b6AD90071%2dEB9F%2d4E1D%2d9250%2d282C8580F2F1%7= d")

Now if you check the actual URL sent to the browser, some garbage will appe= ar at the end of the URL.

If you shorten the URL (to a point), that does not happen.

I verified at least with Emacs 24.3 there is no such issue.

PS: I feel Emacs release quality has been dropping over the years. Wish thi= s can change. Thanks.
--001a11345f3255c9fc051c098154-- From unknown Tue Aug 19 23:11:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Wanrong Lin Subject: bug#21158: closed (Re: bug#21158: Emacs 24.5.1; w32-shell-execute broken on long URLs) Message-ID: References: <83lhdxwpsz.fsf@gnu.org> X-Gnu-PR-Message: they-closed 21158 X-Gnu-PR-Package: emacs Reply-To: 21158@debbugs.gnu.org Date: Thu, 30 Jul 2015 16:53:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1438275182-21706-1" This is a multi-part message in MIME format... ------------=_1438275182-21706-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21158: Emacs 24.5.1; w32-shell-execute broken on long URLs which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21158@debbugs.gnu.org. --=20 21158: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21158 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1438275182-21706-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 21158-done) by debbugs.gnu.org; 30 Jul 2015 16:52:57 +0000 Received: from localhost ([127.0.0.1]:35000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKr4i-0005dp-KH for submit@debbugs.gnu.org; Thu, 30 Jul 2015 12:52:56 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:56688) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKr4f-0005df-RV for 21158-done@debbugs.gnu.org; Thu, 30 Jul 2015 12:52:54 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NSB00J00804RO00@a-mtaout20.012.net.il> for 21158-done@debbugs.gnu.org; Thu, 30 Jul 2015 19:52:51 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NSB00JLS880JE70@a-mtaout20.012.net.il>; Thu, 30 Jul 2015 19:52:51 +0300 (IDT) Date: Thu, 30 Jul 2015 19:52:44 +0300 From: Eli Zaretskii Subject: Re: bug#21158: Emacs 24.5.1; w32-shell-execute broken on long URLs In-reply-to: X-012-Sender: halo1@inter.net.il To: Wanrong Lin Message-id: <83lhdxwpsz.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21158-done Cc: 21158-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Wed, 29 Jul 2015 16:33:53 -0400 > From: Wanrong Lin > > In scratch buffer, evaluate the following: > > (w32-shell-execute "open" > "http://sage/rnd/rndprojects/myproject/Project%20Management/Forms/AllItems.aspx?RootFolder=%2frnd%2frndprojects%2fHNJ%2dHEVC%2fProject%20Management%2f%5fMeeting%20Minutes&FolderCTID=0x01200091670F1D770B314A8F69FA9D507AF4A9&View=%7b6AD90071%2dEB9F%2d4E1D%2d9250%2d282C8580F2F1%7d") > > Now if you check the actual URL sent to the browser, some garbage will appear > at the end of the URL. > > If you shorten the URL (to a point), that does not happen. Thanks, I fixed this in the repository. ------------=_1438275182-21706-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Jul 2015 20:42:05 +0000 Received: from localhost ([127.0.0.1]:33905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKYAu-0002Sr-BH for submit@debbugs.gnu.org; Wed, 29 Jul 2015 16:42:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45407) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKY37-0002HC-Mo for submit@debbugs.gnu.org; Wed, 29 Jul 2015 16:34:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKY36-0007pK-AM for submit@debbugs.gnu.org; Wed, 29 Jul 2015 16:34:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKY36-0007pE-81 for submit@debbugs.gnu.org; Wed, 29 Jul 2015 16:34:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKY35-0003Fq-1d for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2015 16:34:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKY31-0007lA-Ud for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2015 16:33:58 -0400 Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:35943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKY31-0007iA-Hi for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2015 16:33:55 -0400 Received: by lagw2 with SMTP id w2so13347824lag.3 for ; Wed, 29 Jul 2015 13:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HjL0aKgt2E4sp/B+jBD99aZil6uIWxekqcybcXvxPKo=; b=F9dht5b9/+H6tk8oy4+UhfSbwX0iX8RaYPWylUk7Fx0GUgv4WYr2rVxRpRdhZMe9o9 Y6AoNAoJnlZ45EVRYLSYc5EcwmwdE5kVPV2kJz8Kn/K2+BIA7+6n4vfB/y1eNn51w9Tn 2yO5zpohIyz5tEnqQIVVanqbG2fROKNcBBclAb6ls5n12rOiKpIheLzJnJkOHmaycla7 ASvXmg2frx7YV9IqKYnv4A62Y1almnJZKlE+temj9TfuGEyy058zHQSGye88qbff5blP 1I/NJR+hma/lHLiMhluJOd3XIpf9EE/4sEz5tInu2M6XYEXnsFQAHviFeUIsUzv9hjFo APgg== MIME-Version: 1.0 X-Received: by 10.112.224.4 with SMTP id qy4mr40813611lbc.20.1438202033717; Wed, 29 Jul 2015 13:33:53 -0700 (PDT) Received: by 10.25.162.8 with HTTP; Wed, 29 Jul 2015 13:33:53 -0700 (PDT) Date: Wed, 29 Jul 2015 16:33:53 -0400 Message-ID: Subject: Emacs 24.5.1; w32-shell-execute broken on long URLs From: Wanrong Lin To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a11345f3255c9fc051c098154 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 29 Jul 2015 16:42:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a11345f3255c9fc051c098154 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable With this version: GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 On Windows 7 professional, In scratch buffer, evaluate the following: (w32-shell-execute "open" " http://sage/rnd/rndprojects/myproject/Project%20Management/Forms/AllItems.a= spx?RootFolder=3D%2frnd%2frndprojects%2fHNJ%2dHEVC%2fProject%20Management%2= f%5fMeeting%20Minutes&FolderCTID=3D0x01200091670F1D770B314A8F69FA9D507AF4A9= &View=3D%7b6AD90071%2dEB9F%2d4E1D%2d9250%2d282C8580F2F1%7d ") Now if you check the actual URL sent to the browser, some garbage will appear at the end of the URL. If you shorten the URL (to a point), that does not happen. I verified at least with Emacs 24.3 there is no such issue. PS: I feel Emacs release quality has been dropping over the years. Wish this can change. Thanks. --001a11345f3255c9fc051c098154 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
With this version:
GNU Emacs 24.5.1 (i686-pc-mingw32)
=C2=A0of 2015-04-11 on LEG570

On Windows 7 professional,

In scratch buffer, evaluate the following:

(w32-shell-execute "open"=20 "http://sage/rnd/rndprojects/myproject/Project%20Management/Forms/= AllItems.aspx?RootFolder=3D%2frnd%2frndprojects%2fHNJ%2dHEVC%2fProject%20Ma= nagement%2f%5fMeeting%20Minutes&FolderCTID=3D0x01200091670F1D770B314A8F= 69FA9D507AF4A9&View=3D%7b6AD90071%2dEB9F%2d4E1D%2d9250%2d282C8580F2F1%7= d")

Now if you check the actual URL sent to the browser, some garbage will appe= ar at the end of the URL.

If you shorten the URL (to a point), that does not happen.

I verified at least with Emacs 24.3 there is no such issue.

PS: I feel Emacs release quality has been dropping over the years. Wish thi= s can change. Thanks.
--001a11345f3255c9fc051c098154-- ------------=_1438275182-21706-1--