* Escape image creator/camera model text. (SF Bug #3460941)
This commit is contained in:
parent
51ef3a57dd
commit
edcdb027d0
@ -601,7 +601,7 @@ GetImageMetadata(const char * path, char * name)
|
||||
strncpyt(model, exif_entry_get_value(e, b, sizeof(b)), sizeof(model));
|
||||
if( !strcasestr(model, make) )
|
||||
snprintf(model, sizeof(model), "%s %s", make, exif_entry_get_value(e, b, sizeof(b)));
|
||||
m.creator = strdup(model);
|
||||
m.creator = escape_tag(model, 1);
|
||||
}
|
||||
}
|
||||
//DEBUG DPRINTF(E_DEBUG, L_METADATA, " * model: %s\n", model);
|
||||
|
Loading…
x
Reference in New Issue
Block a user