[CalendarServer-changes] [6426] CalDAVTester/trunk/scripts/tests/CardDAV/nonascii.xml

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 14 13:12:01 PDT 2010


Revision: 6426
          http://trac.macosforge.org/projects/calendarserver/changeset/6426
Author:   cdaboo at apple.com
Date:     2010-10-14 13:11:58 -0700 (Thu, 14 Oct 2010)
Log Message:
-----------
Can't use non-ascii in the URI - it must always be escaped.

Modified Paths:
--------------
    CalDAVTester/trunk/scripts/tests/CardDAV/nonascii.xml

Modified: CalDAVTester/trunk/scripts/tests/CardDAV/nonascii.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CardDAV/nonascii.xml	2010-10-14 09:48:50 UTC (rev 6425)
+++ CalDAVTester/trunk/scripts/tests/CardDAV/nonascii.xml	2010-10-14 20:11:58 UTC (rev 6426)
@@ -87,7 +87,7 @@
 			<description>MKCOL with double byte</description>
 			<request end-delete="no">
 				<method>MKCOL</method>
-				<ruri>$addressbookhome1:/初日/</ruri>
+				<ruri>$addressbookhome1:/%E5%88%9D%E6%97%A5/</ruri>
 				<data>
 					<content-type>text/xml; charset=utf-8</content-type>
 					<filepath>Resource/Common/MKCOL/addressbook.xml</filepath>
@@ -101,7 +101,7 @@
 			<description>MKCOL with non-ascii - duplicate</description>
 			<request print-response="no">
 				<method>MKCOL</method>
-				<ruri>$addressbookhome1:/初日/</ruri>
+				<ruri>$addressbookhome1:/%E5%88%9D%E6%97%A5/</ruri>
 				<data>
 					<content-type>text/xml; charset=utf-8</content-type>
 					<filepath>Resource/Common/MKCOL/addressbook.xml</filepath>
@@ -119,7 +119,7 @@
 			<description>GET with non-ascii</description>
 			<request print-response="no">
 				<method>GET</method>
-				<ruri>$addressbookhome1:/初日/</ruri>
+				<ruri>$addressbookhome1:/%E5%88%9D%E6%97%A5/</ruri>
 				<verify>
 					<callback>statusCode</callback>
 				</verify>
@@ -129,7 +129,7 @@
 			<description>DELETE with non-ascii</description>
 			<request print-response="no">
 				<method>DELETE</method>
-				<ruri>$addressbookhome1:/初日/</ruri>
+				<ruri>$addressbookhome1:/%E5%88%9D%E6%97%A5/</ruri>
 				<verify>
 					<callback>statusCode</callback>
 				</verify>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101014/61144378/attachment.html>


More information about the calendarserver-changes mailing list