Skip to content

Commit

Permalink
WebCore:
Browse files Browse the repository at this point in the history
2009-04-21  Sam Weinig  <[email protected]>

        Reviewed by Dan Bernstein.

        Fix for <rdar://problem/5874009>
        Add port 3659 (apple-sasl / PasswordServer) to the list of blocked ports.

        * platform/network/ResourceHandle.cpp:
        (WebCore::portAllowed):

LayoutTests:

2009-04-21  Sam Weinig  <[email protected]>

        Reviewed by Dan Bernstein.

        Update test and results for <rdar://problem/5874009>
        Add port 3659 (apple-sasl / PasswordServer) to the list of blocked ports.

        * platform/mac-tiger/security/block-test-expected.txt:
        * platform/mac/security/block-test-expected.txt:
        * security/block-test.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
[email protected] committed Apr 22, 2009
1 parent 11f7447 commit 770cf31
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 1 deletion.
11 changes: 11 additions & 0 deletions LayoutTests/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2009-04-21 Sam Weinig <[email protected]>

Reviewed by Dan Bernstein.

Update test and results for <rdar://problem/5874009>
Add port 3659 (apple-sasl / PasswordServer) to the list of blocked ports.

* platform/mac-tiger/security/block-test-expected.txt:
* platform/mac/security/block-test-expected.txt:
* security/block-test.html:

2009-04-21 Justin Garcia <[email protected]>

Reviewed by Dan Bernstein.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ http://255.255.255.255:995/test.jpg - willSendRequest <NSURLRequest URL http://2
http://255.255.255.255:995/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:995/test.jpg">
http://255.255.255.255:2049/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:2049/test.jpg, main document URL block-test.html> redirectResponse (null)
http://255.255.255.255:2049/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:2049/test.jpg">
http://255.255.255.255:3659/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:3659/test.jpg, main document URL block-test.html> redirectResponse (null)
http://255.255.255.255:3659/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:3659/test.jpg">
http://255.255.255.255:4045/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:4045/test.jpg, main document URL block-test.html> redirectResponse (null)
http://255.255.255.255:4045/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:4045/test.jpg">
http://255.255.255.255:6000/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:6000/test.jpg, main document URL block-test.html> redirectResponse (null)
Expand Down
2 changes: 2 additions & 0 deletions LayoutTests/platform/mac/security/block-test-expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ http://255.255.255.255:995/test.jpg - willSendRequest <NSURLRequest URL http://2
http://255.255.255.255:995/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:995/test.jpg">
http://255.255.255.255:2049/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:2049/test.jpg, main document URL block-test.html> redirectResponse (null)
http://255.255.255.255:2049/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:2049/test.jpg">
http://255.255.255.255:3659/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:3659/test.jpg, main document URL block-test.html> redirectResponse (null)
http://255.255.255.255:3659/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:3659/test.jpg">
http://255.255.255.255:4045/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:4045/test.jpg, main document URL block-test.html> redirectResponse (null)
http://255.255.255.255:4045/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:4045/test.jpg">
http://255.255.255.255:6000/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:6000/test.jpg, main document URL block-test.html> redirectResponse (null)
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/security/block-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
21, 22, 23, 25, 37, 42, 43, 53, 77, 79, 87, 95, 101, 102,
103, 104, 109, 110, 111, 113, 115, 117, 119, 123, 135, 139,
143, 179, 389, 465, 512, 513, 514, 515, 526, 530, 531, 532,
540, 556, 563, 587, 601, 636, 993, 995, 2049, 4045, 6000, 0);
540, 556, 563, 587, 601, 636, 993, 995, 2049, 3659, 4045, 6000, 0);

var baseURL = "255.255.255.255";
var currentPort = 0;
Expand Down
10 changes: 10 additions & 0 deletions WebCore/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
2009-04-21 Sam Weinig <[email protected]>

Reviewed by Dan Bernstein.

Fix for <rdar://problem/5874009>
Add port 3659 (apple-sasl / PasswordServer) to the list of blocked ports.

* platform/network/ResourceHandle.cpp:
(WebCore::portAllowed):

2009-04-21 Justin Garcia <[email protected]>

Reviewed by Dan Bernstein.
Expand Down
1 change: 1 addition & 0 deletions WebCore/platform/network/ResourceHandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ static bool portAllowed(const ResourceRequest& request)
993, // IMAP+SSL
995, // POP3+SSL
2049, // NFS
3659, // apple-sasl / PasswordServer [Apple addition]
4045, // lockd
6000, // X11
};
Expand Down

0 comments on commit 770cf31

Please sign in to comment.