Ticket #5 (assigned task)

Opened 1 year ago

Last modified 3 weeks ago

Make the MeCab zip file unpacking process more secure

Reported by: brian Assigned to: brian (accepted)
Priority: normal Milestone:
Component: Installer Version: 0.22.6
Severity: Keywords: MeCab installer uninstaller
Cc:

Description (Last modified by brian)

The current version of the code used to install the MeCab Parser simply unzips the 12 MB file. It assumes that the files will all be extracted into the destination folder or one of its sub-folders. It wouild be safer to ensure that this is what happens (i.e. handle paths in a similar fashion to the installation of the SSL Support files)

Change History

10/11/07 20:50:40 changed by brian

  • type changed from enhancement to task.

10/15/07 21:46:28 changed by brian

  • status changed from new to assigned.

11/18/07 20:44:55 changed by brian

  • description changed.

Trac Ticket 27 points out that the 12 MB MeCab zip file should not be downloaded every time MeCab is selected as the Nihongo parser. My suggested solution for that ticket involves calculating the MD5 sum for every file in the MeCab package (there are 46 files in the current package). The mecab.md5 file would make it easy to extract the MeCab files one at a time to specific destinations instead of blindly unzipping the entire package in one operation.