projects
/
id3fs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deaedd5
)
stop sanitising tagvals on select: now sanitised on input
author
Ian Beckwith
<ianb@erislabs.net>
Sun, 26 Sep 2010 07:11:09 +0000
(08:11 +0100)
committer
Ian Beckwith
<ianb@erislabs.net>
Sun, 26 Sep 2010 07:11:09 +0000
(08:11 +0100)
lib/ID3FS/DB.pm
patch
|
blob
|
history
diff --git
a/lib/ID3FS/DB.pm
b/lib/ID3FS/DB.pm
index
99c4820
..
93f1de7
100644
(file)
--- a/
lib/ID3FS/DB.pm
+++ b/
lib/ID3FS/DB.pm
@@
-175,8
+175,6
@@
sub tag_values
"WHERE tags_x_tagvals.tags_id=?");
my $tags=$self->cmd_rows($sql, $tagid);
my @tags=map { $_->[0]; } @$tags;
- # FIXME: handle when indexing, not here
- @tags=map { s/[^[:print:]]//g; $_; } @tags;
@tags=map { length($_) ? $_ : "NOVALUE"; } @tags;
return @tags;
}