[webkit-changes] cvs commit: WebCore/kwq KWQKURL.mm
Adele
adele at opensource.apple.com
Tue Jul 12 15:27:23 PDT 2005
adele 05/07/12 15:27:23
Modified: . Tag: Safari-1-3-branch ChangeLog
kwq Tag: Safari-1-3-branch KWQKURL.mm
Log:
Merged fix from TOT to Safari-1-3-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.4108.4.33 +18 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.4108.4.32
retrieving revision 1.4108.4.33
diff -u -r1.4108.4.32 -r1.4108.4.33
--- ChangeLog 12 Jul 2005 22:21:02 -0000 1.4108.4.32
+++ ChangeLog 12 Jul 2005 22:27:17 -0000 1.4108.4.33
@@ -1,6 +1,24 @@
2005-07-12 Adele Peterson <adele at apple.com>
Merged fix from TOT to Safari-1-3-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-1-3-branch
<rdar://problem/4164975>
2005-05-23 Adele Peterson <adele at apple.com>
No revision
No revision
1.89.6.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.6.1
diff -u -r1.89 -r1.89.6.1
--- KWQKURL.mm 5 Mar 2005 19:20:29 -0000 1.89
+++ KWQKURL.mm 12 Jul 2005 22:27:23 -0000 1.89.6.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