We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4cd05a5 + 34292a7 commit 41cc2edCopy full SHA for 41cc2ed
force-app/main/default/classes/Sharepoint.cls
@@ -25,7 +25,7 @@ global with sharing class Sharepoint {
25
}
26
global static SharepointSearchResponse searchFolder(String query) {
27
String basePath = getBasePath();
28
- query = query.replace(' ', '+');
+ query = String.escapeSingleQuotes(query.replace(' ', '+'));
29
HttpRequest req = new HttpRequest();
30
req.setMethod('GET');
31
HttpResponse res = QKomGraphUtils.send(
0 commit comments