%27 in URLs is not correctly decoded
The following two SPARQL queries should be equivalent, but tracker3 sparql
returns different results:
sam@ausecuma ~/s/t/build (master)> tracker3 sparql --dbus-service org.freedesktop.Tracker3.Miner.Files -q 'SELECT ?f { ?f nie:url <file:///home/sam/Codethink/LTM/example-desktop-content/lfs/Music/Various%20Artists%20-%20Party%20Fun%20With%20Recorders%20-%20Volume%20One/03%20Justin%20-%20Rock%20\'N\'%20Roll%20Boy.mp3> } '
Results:
file:///home/sam/Codethink/LTM/example-desktop-content/lfs/Music/Various%20Artists%20-%20Party%20Fun%20With%20Recorders%20-%20Volume%20One/03%20Justin%20-%20Rock%20'N'%20Roll%20Boy.mp3
sam@ausecuma ~/s/t/build (master)> tracker3 sparql --dbus-service org.freedesktop.Tracker3.Miner.Files -q 'SELECT ?f { ?f nie:url <file:///home/sam/Codethink/LTM/example-desktop-content/lfs/Music/Various%20Artists%20-%20Party%20Fun%20With%20Recorders%20-%20Volume%20One/03%20Justin%20-%20Rock%20%27N%27%20Roll%20Boy.mp3> } '
Results:
None
The second query is the first, with \'
replaced by %27
.
I ran these examples in Fish shell, i couldn't easily reproduce in Bash as i can't escape the '
character inside the single quoted string.