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:
parent
6c3469afe0
commit
cc3f237945
@ -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*/,
|
||||
|
Loading…
x
Reference in New Issue
Block a user