jnraine / munkiserver

Visit https://github.com/munkiserver/munkiserver for active development — this repository is no longer maintained
85 stars 27 forks source link

unicode in pkginfo plist produces error #108

Closed dayglojesus closed 8 years ago

dayglojesus commented 12 years ago

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:inprocess_package_file' app/models/package.rb:682:in create' app/controllers/packages_controller.rb:51:increate'

rickychilcott commented 8 years ago

This has been fixed for a while, since 7938c84035f1739cecd2378da42aa398410ec679