mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-03 15:20:17 +01:00
Ensure that URL are always escaped
This commit is contained in:
@@ -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*/,
|
||||
|
||||
Reference in New Issue
Block a user