mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-26 15:20:16 +00:00
Correct end-of-line replacement in GET.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
parent
b69836e9d6
commit
a7563ddaba
@ -144,7 +144,7 @@ if ( $dav_resource->IsCollection() ) {
|
||||
$resource = $dav_resource->resource();
|
||||
$ic = new iCalComponent( $resource->caldav_data );
|
||||
|
||||
$resource->caldav_data = preg_replace( '{(?<!\r)\n}', '\r\n', $resource->caldav_data);
|
||||
$resource->caldav_data = preg_replace( '{(?<!\r)\n}', "\r\n", $resource->caldav_data);
|
||||
|
||||
/** Default deny... */
|
||||
$allowed = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user