Closed fuco809 closed 4 weeks ago
This could be fixed with a dedicated repair step in the calendar-js
libary : https://github.com/nextcloud/calendar-js/tree/main/src/parsers/repairsteps/icalendar
Hi, I was digging into it and found that its not BOM but Unicode Special Non-characters i.e. U+FFFE & U+FFFF. As if it was BOM then U+FEFF should also break and cause errors but it worked well when I tested it.
Raising PR in calendar-js repo 🙂
Steps to reproduce
Expected behavior
online created events should automatically strip UTF8 BOM Codes oder other unliked char elements
Actual behaviour
elements like "NBSP" or "xEF xBF xBE" are not removed and makes some troubles (not showing events, export/import errors).
Calendar app version
4.7.4
CalDAV-clients used
No response
Browser
No response
Client operating system
No response
Server operating system
No response
Web server
Apache
Database engine version
MariaDB
PHP engine version
PHP 8.2
Nextcloud version
27.1.9
Updated from an older installed version or fresh install
Updated from an older version
List of activated apps
No response
Nextcloud configuration
No response
Web server error log
No response
Log file
No response
Browser log
No response
Additional info
No response