1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

LV2 Client: Properly escape library names in the manifest.ttl

This commit is contained in:
reuk 2022-04-26 18:31:11 +01:00
parent a1e72b70df
commit 67164f6af9
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -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 <dsp.ttl> .\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 <ui.ttl> .\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";