Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
afpd: character encoding in Spotlight queries
Fix path escaping in Spotlight so paths with spaces or special characters can be properly matched to tracker paths. Signed-off-by: Ralph Boehme <slow@samba.org> (similar to commit 4473897)
- Loading branch information
1 parent
faaaf46
commit 90aa43d
Showing
1 changed file
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90aa43d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you've got a potential memory leak there. You need to move the g_free(scope) call up above the if (slq->slq_scope == NULL) check.
90aa43d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.