calendar
calendar copied to clipboard
Calender subscription URL not stripped
Steps to reproduce
- Choose iCal URL to import
- Click "New subscription from link"
- Import the URL, but prefix it with a couple of spaces
Expected behavior
The URL should be stripped and written to the database
Actual behaviour
The URL is not stripped which can be seen by executing select * from oc_calendarsubscriptions in the database. This causes issues when syncing the calendar on Android using DAVx5/ICSx5 as shown in this discussion
Calendar app version
4.7.6
CalDAV-clients used
DAVx5/ICSx5
Browser
N/A
Client operating system
Android 14
Server operating system
No response
Web server
None
Database engine version
None
PHP engine version
None
Nextcloud version
No response
Updated from an older installed version or fresh install
None
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
Needs to be fixed in both front-end and back-end (server repo).