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.
1 parent a9a5198 commit 869f659Copy full SHA for 869f659
force-app/main/default/classes/Sharepoint.cls
@@ -25,7 +25,10 @@ global with sharing class Sharepoint {
25
}
26
global static SharepointSearchResponse searchFolder(String query) {
27
String basePath = getBasePath();
28
- query = EncodingUtil.urlEncode(query, 'UTF-8');
+ query = EncodingUtil.urlEncode(
29
+ query.replace('\'', '\'\''),
30
+ 'UTF-8'
31
+ );
32
HttpRequest req = new HttpRequest();
33
req.setMethod('GET');
34
HttpResponse res = QKomGraphUtils.send(
0 commit comments