Browse Source

[Minor] Ask for utf8 string from libarchive

pull/4843/head
Vsevolod Stakhov 2 months ago
parent
commit
d093bb5e0a
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libmime/archives.c

+ 1
- 1
src/libmime/archives.c View File

@@ -1683,7 +1683,7 @@ rspamd_7zip_read_next_section(struct rspamd_task *task,
struct archive_entry *ae;

while (archive_read_next_header(a, &ae) == ARCHIVE_OK) {
const char *name = archive_entry_pathname(ae);
const char *name = archive_entry_pathname_utf8(ae);
if (name) {
msg_debug_archive("7zip: found file %s", name);
struct rspamd_archive_file *f = g_malloc0(sizeof(*f));

Loading…
Cancel
Save