django-ical icon indicating copy to clipboard operation
django-ical copied to clipboard

Wrong Content-Type charset declaration

Open lchanouha opened this issue 2 years ago • 2 comments

Hello mime_type = "text/calendar; charset=utf8" should be replaced by: mime_type = "text/calendar; charset=utf-8"

References:

  • Google's ics implementation returns: content-type: text/calendar; charset=utf-8
  • https://www.w3.org/International/articles/http-charset/index

Regards,

lchanouha avatar Sep 03 '22 21:09 lchanouha

Good catch :) Would you like to open a PR for updating this behaviour @lchanouha?

aleksihakli avatar Sep 10 '22 11:09 aleksihakli

Done #58

lchanouha avatar Sep 11 '22 22:09 lchanouha

PR upstreamed and fix available in release version 1.8.4.

aleksihakli avatar Apr 02 '23 17:04 aleksihakli