GNU bug report logs - #21158
Emacs 24.5.1; w32-shell-execute broken on long URLs

Previous Next

Package: emacs;

Reported by: Wanrong Lin <wanrong.lin <at> gmail.com>

Date: Wed, 29 Jul 2015 20:43:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#21158: closed (Emacs 24.5.1; w32-shell-execute broken on long
 URLs)
Date: Thu, 30 Jul 2015 16:53:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 30 Jul 2015 19:52:44 +0300
with message-id <83lhdxwpsz.fsf <at> gnu.org>
and subject line Re: bug#21158: Emacs 24.5.1; w32-shell-execute broken on long URLs
has caused the debbugs.gnu.org bug report #21158,
regarding Emacs 24.5.1; w32-shell-execute broken on long URLs
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
21158: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21158
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Wanrong Lin <wanrong.lin <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 24.5.1; w32-shell-execute broken on long URLs
Date: Wed, 29 Jul 2015 16:33:53 -0400
[Message part 3 (text/plain, inline)]
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.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.

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.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Wanrong Lin <wanrong.lin <at> gmail.com>
Cc: 21158-done <at> debbugs.gnu.org
Subject: Re: bug#21158: Emacs 24.5.1; w32-shell-execute broken on long URLs
Date: Thu, 30 Jul 2015 19:52:44 +0300
> Date: Wed, 29 Jul 2015 16:33:53 -0400
> From: Wanrong Lin <wanrong.lin <at> gmail.com>
> 
> 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.


This bug report was last modified 9 years and 359 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.