Skip to content

Commit

Permalink
Resolve issue #2740
Browse files Browse the repository at this point in the history
* If we have to 'build' the path use for checking against Client Side Filtering rules - make sure this path is free from HTML encoded characters
  • Loading branch information
abraunegg committed Jul 26, 2024
1 parent 4c01186 commit 77c883c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sync.d
Original file line number Diff line number Diff line change
Expand Up @@ -3740,9 +3740,9 @@ class SyncEngine {
// Keep only the part after ':'
selfBuiltPath = selfBuiltPath[splitIndex + 1 .. $];
}

// Set newItemPath to the self built path
newItemPath = selfBuiltPath;
// If selfBuiltPath is containing any sort of URL encoding, due to special characters (spaces, umlaut, or any other character that is HTML encoded, this specific path now needs to be HTML decoded
// Set newItemPath to the self built decoded path
newItemPath = decodeComponent(selfBuiltPath);
} else {
// no parent reference path available in provided JSON
newItemPath = thisItemName;
Expand Down

0 comments on commit 77c883c

Please sign in to comment.