[webkit-changes] cvs commit: WebCore/kwq KWQKURL.mm
Adele
adele at opensource.apple.com
Tue Jul 12 15:28:18 PDT 2005
adele 05/07/12 15:28:17
Modified: . Tag: Safari-2-0-branch ChangeLog
kwq Tag: Safari-2-0-branch KWQKURL.mm
Log:
Merged fix from TOT to Safari-2-0-branch
<rdar://problem/4164978>
2005-06-24 Darin Adler <darin at apple.com>
Reviewed by Justin Garcia.
- fixed <rdar://problem/4151619> Safari changes "\" characters to "/" in the query part of links that start with "?"
Test cases added:
* layout-tests/fast/dom/anchor-backslash-expected.txt: Added.
* layout-tests/fast/dom/anchor-backslash.html: Added.
* kwq/KWQKURL.mm: (substituteBackslashes): Fix error where we'd ignore
"?" and "#" characters if they were the first character in the string.
Revision Changes Path
No revision
No revision
1.4104.2.61 +18 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.4104.2.60
retrieving revision 1.4104.2.61
diff -u -r1.4104.2.60 -r1.4104.2.61
--- ChangeLog 12 Jul 2005 22:19:14 -0000 1.4104.2.60
+++ ChangeLog 12 Jul 2005 22:28:09 -0000 1.4104.2.61
@@ -1,6 +1,24 @@
2005-07-12 Adele Peterson <adele at apple.com>
Merged fix from TOT to Safari-2-0-branch
+ <rdar://problem/4164978>
+
+ 2005-06-24 Darin Adler <darin at apple.com>
+
+ Reviewed by Justin Garcia.
+
+ - fixed <rdar://problem/4151619> Safari changes "\" characters to "/" in the query part of links that start with "?"
+
+ Test cases added:
+ * layout-tests/fast/dom/anchor-backslash-expected.txt: Added.
+ * layout-tests/fast/dom/anchor-backslash.html: Added.
+
+ * kwq/KWQKURL.mm: (substituteBackslashes): Fix error where we'd ignore
+ "?" and "#" characters if they were the first character in the string.
+
+2005-07-12 Adele Peterson <adele at apple.com>
+
+ Merged fix from TOT to Safari-2-0-branch
<rdar://problem/4164975>
2005-05-23 Adele Peterson <adele at apple.com>
No revision
No revision
1.89.8.1 +2 -2 WebCore/kwq/KWQKURL.mm
Index: KWQKURL.mm
===================================================================
RCS file: /cvs/root/WebCore/kwq/KWQKURL.mm,v
retrieving revision 1.89
retrieving revision 1.89.8.1
diff -u -r1.89 -r1.89.8.1
--- KWQKURL.mm 5 Mar 2005 19:20:29 -0000 1.89
+++ KWQKURL.mm 12 Jul 2005 22:28:17 -0000 1.89.8.1
@@ -1746,9 +1746,9 @@
int hashPos = string.find('#');
unsigned pathEnd;
- if (hashPos > 0 && (questionPos < 0 || questionPos > hashPos)) {
+ if (hashPos >= 0 && (questionPos < 0 || questionPos > hashPos)) {
pathEnd = hashPos;
- } else if (questionPos > 0) {
+ } else if (questionPos >= 0) {
pathEnd = questionPos;
} else {
pathEnd = string.length();
More information about the webkit-changes
mailing list