jraine/munkiserver — Issue #108: unicode in pkginfo plist produces error
Author: dayglojesus
Created: 2011-11-30 19:14:43+00:00
State: open

Pkginfo plist files that contain unicode characters cannot be uploaded via the package-add form.

Such files produce the error:

Completed 500 Internal Server Error in 44ms

Encoding::CompatibilityError (incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)):
app/models/package.rb:820:in `process_pkginfo_file'
app/models/package.rb:776:in `process_package_file'
app/models/package.rb:682:in `create'
app/controllers/packages_controller.rb:51:in `create'