瀏覽代碼

[Minor] Ask for utf8 string from libarchive

pull/4843/head
Vsevolod Stakhov 2 月之前
父節點
當前提交
d093bb5e0a
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/libmime/archives.c

+ 1
- 1
src/libmime/archives.c 查看文件

@@ -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…
取消
儲存