1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 17:49:45 +02:00

Ensure that URL are always escaped

This commit is contained in:
Leland Lucius 2015-07-31 19:22:04 -05:00
parent 6c3469afe0
commit cc3f237945

View File

@ -20,6 +20,7 @@
#include <wx/mimetype.h>
#include <wx/filename.h>
#include <wx/uri.h>
#include "LinkingHtmlWindow.h"
#include "../HelpText.h"
@ -79,7 +80,8 @@ void BrowserFrame::UpdateButtons()
void OpenInDefaultBrowser(const wxHtmlLinkInfo& link)
{
wxLaunchDefaultBrowser(link.GetHref());
wxURI uri(link.GetHref());
wxLaunchDefaultBrowser(uri.BuildURI());
}
LinkingHtmlWindow::LinkingHtmlWindow(wxWindow *parent, wxWindowID id /*= -1*/,