diff --git a/common/eda_doc.cpp b/common/eda_doc.cpp index a233edc4c1..4317176935 100644 --- a/common/eda_doc.cpp +++ b/common/eda_doc.cpp @@ -35,6 +35,7 @@ #include #include #include +#include #include @@ -106,7 +107,8 @@ bool GetAssociatedDocument( wxWindow* aParent, { if( aDocName.First( url_header[ii] ) == 0 ) // looks like an internet url { - wxLaunchDefaultBrowser( aDocName ); + wxURI uri( aDocName ); + wxLaunchDefaultBrowser( uri.BuildURI() ); return true; } }