Hi all, On Windows, some URL could not be opened correctly from M because the part after a question mark was lost (I use an intermediate batch file to launch ny browser, this may be the problem).
So here is a patch to allow a '%s' string in the browser command. I use it to sorround the URL with double quotes. Could some of you test it on other platform, please? Thanks.
Index: src/gui/ClickURL.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/ClickURL.cpp,v
retrieving revision 1.19
diff -b -u -2 -r1.19 ClickURL.cpp
--- src/gui/ClickURL.cpp 11 Oct 2003 23:13:46 -0000 1.19
+++ src/gui/ClickURL.cpp 5 Nov 2003 07:57:42 -0000
@@ -45,4 +45,5 @@
#include <wx/clipbrd.h>
+#include <wx/mimetype.h>
#ifdef OS_UNIX
@@ -435,5 +436,6 @@
{
command = browser;
- command << _T(' ') << m_url;
+ wxFileType::MessageParameters params(m_url, _T(""));
+ command = wxFileType::ExpandCommand(command, params);
wxString errmsg;
-- Xavier Nodet "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759.
pgp00000.pgp
Description: PGP signature
