little bit more url escape

Wed, 06 Sep 2023 22:48:08 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 06 Sep 2023 22:48:08 +0200
changeset 508
fb1a51e7954f
parent 507
4b3ac9249394
child 509
2e29d0c2fb3b

little bit more url escape

src/server/webdav/multistatus.c file | annotate | diff | comparison | revisions
--- a/src/server/webdav/multistatus.c	Wed Sep 06 22:25:34 2023 +0200
+++ b/src/server/webdav/multistatus.c	Wed Sep 06 22:48:08 2023 +0200
@@ -134,6 +134,11 @@
                 esclen = 3;
                 break;
             }
+            case '&': {
+                escape = "%26";
+                esclen = 3;
+                break;
+            }
             default: continue;
         }
         ptrdiff_t len = end - begin;

mercurial