summaryrefslogtreecommitdiff
path: root/icalExport.php
diff options
context:
space:
mode:
authorzeldakatze <coffee@zeldakatze.de>2025-09-29 15:10:48 +0200
committerzeldakatze <coffee@zeldakatze.de>2025-09-29 15:10:48 +0200
commit4c71a67bbb00c136c39900afaa79d3c1933d710d (patch)
tree74372e822078ccfbdc616a7f7f49bd8d5ea2a12d /icalExport.php
parentdc817302246d1810c6b6868de8007c8e68d79585 (diff)
downloadinfoCalendar-4c71a67bbb00c136c39900afaa79d3c1933d710d.tar.gz
infoCalendar-4c71a67bbb00c136c39900afaa79d3c1933d710d.zip
workaround for wordpress not matching special characters with \wHEADmain
Diffstat (limited to 'icalExport.php')
-rw-r--r--icalExport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/icalExport.php b/icalExport.php
index 5d6d5f3..4c44c42 100644
--- a/icalExport.php
+++ b/icalExport.php
@@ -121,7 +121,7 @@ function doICalExport(WP_REST_Request $request) {
/* get the view information */
// TODO sanitization!?
- $calendarView = infocalendar_getViewByName($request['slug']);
+ $calendarView = infocalendar_getViewByName(urldecode($request['slug']));
if($calendarView == null)
die("unknown view");