gotson / komga

Media server for comics/mangas/BDs/magazines/eBooks with API, OPDS and Kobo Sync support
https://komga.org
MIT License
4.03k stars 240 forks source link

URLDecoder #1441

Closed wushuo894 closed 7 months ago

wushuo894 commented 7 months ago

Fixed an issue where image files in epub could not be displayed normally when the file name was Chinese

wushuo894 commented 7 months ago

Xnip2024-03-11_13-28-27

wushuo894 commented 7 months ago

Xnip2024-03-11_13-33-27

wushuo894 commented 7 months ago

Xnip2024-03-11_13-28-27

Some of the Mimetypes fetched by epub contain \r\n

wushuo894 commented 7 months ago

Xnip2024-03-11_13-33-27

Chinese and url encoding conversion problems

Xnip2024-03-11_13-33-27

Chinese and url encoding conversion problems

gotson commented 7 months ago

can you please create an issue first, and provide the file that causes the issue?

wushuo894 commented 7 months ago

can you please create an issue first, and provide the file that causes the issue?

ok

gotson commented 7 months ago

Xnip2024-03-11_13-28-27

this seems to indicate that the file is incorrect, according to https://www.w3.org/TR/epub/#sec-zip-container-mime

The mimetype file MUST NOT contain any leading or trailing padding or white space.

wushuo894 commented 7 months ago

Xnip2024-03-11_13-28-27

this seems to indicate that the file is incorrect, according to https://www.w3.org/TR/epub/#sec-zip-container-mime

The mimetype file MUST NOT contain any leading or trailing padding or white space.

This is true, but the epub can be opened in apple reader Xnip2024-03-11_14-41-25

wushuo894 commented 7 months ago

Xnip2024-03-11_13-28-27

this seems to indicate that the file is incorrect, according to https://www.w3.org/TR/epub/#sec-zip-container-mime

The mimetype file MUST NOT contain any leading or trailing padding or white space.

This is true, but the epub can be opened in apple reader Xnip2024-03-11_14-41-25

Xnip2024-03-11_14-43-32

gotson commented 7 months ago

Xnip2024-03-11_13-28-27

this seems to indicate that the file is incorrect, according to w3.org/TR/epub/#sec-zip-container-mime

The mimetype file MUST NOT contain any leading or trailing padding or white space.

This is true, but the epub can be opened in apple reader Xnip2024-03-11_14-41-25

the file you provided in #1442 is correctly detected as EPUB in Komga

wushuo894 commented 7 months ago

Xnip2024-03-11_13-28-27

this seems to indicate that the file is incorrect, according to w3.org/TR/epub/#sec-zip-container-mime

The mimetype file MUST NOT contain any leading or trailing padding or white space.

This is true, but the epub can be opened in apple reader Xnip2024-03-11_14-41-25

the file you provided in #1442 is correctly detected as EPUB in Komga

人间系列01 零崎双識的人間試験.epub.zip

This is the file that failed to identify

gotson commented 7 months ago

Xnip2024-03-11_13-28-27

this seems to indicate that the file is incorrect, according to w3.org/TR/epub/#sec-zip-container-mime

The mimetype file MUST NOT contain any leading or trailing padding or white space.

This is true, but the epub can be opened in apple reader Xnip2024-03-11_14-41-25

the file you provided in #1442 is correctly detected as EPUB in Komga

人间系列01 零崎双識的人間試験.epub.zip

This is the file that failed to identify

thanks, you should probably have started by providing the file

github-actions[bot] commented 7 months ago

🎉 This issue has been resolved in 1.10.4 (Release Notes)