From 67164f6af9d1e70e02605df55a3f3aae36dc3b71 Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 26 Apr 2022 18:31:11 +0100 Subject: [PATCH] LV2 Client: Properly escape library names in the manifest.ttl --- modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp b/modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp index e9401a981e..a5d3b1de4b 100644 --- a/modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp +++ b/modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp @@ -825,7 +825,7 @@ private: "\n" "<" JucePlugin_LV2URI ">\n" "\ta lv2:Plugin ;\n" - "\tlv2:binary <" << libraryPath.getFileName() << "> ;\n" + "\tlv2:binary <" << URL::addEscapeChars (libraryPath.getFileName(), false) << "> ;\n" "\trdfs:seeAlso .\n"; if (proc.hasEditor()) @@ -843,7 +843,7 @@ private: os << "\n" "<" << JucePluginLV2UriUi << ">\n" "\ta ui:" JUCE_LV2_UI_KIND " ;\n" - "\tlv2:binary <" << libraryPath.getFileName() << "> ;\n" + "\tlv2:binary <" << URL::addEscapeChars (libraryPath.getFileName(), false) << "> ;\n" "\trdfs:seeAlso .\n" "\n"; } @@ -1303,7 +1303,7 @@ private: "\tlv2:optionalFeature\n" "\t\t" << resizeFeatureString << " ,\n" "\t\topts:interface ,\n" - "\t\topts:options .\n\n" + "\t\topts:options ;\n\n" "\topts:supportedOption\n" "\t\tui:scaleFactor ,\n" "\t\tparam:sampleRate .\n";