| Index: Source/weborigin/SecurityPolicy.cpp
|
| diff --git a/Source/weborigin/SecurityPolicy.cpp b/Source/weborigin/SecurityPolicy.cpp
|
| index 255374a308b846af3268b60f99017ca58182416f..0dc274c6cb0983375affa30c98a263132d88ebc1 100644
|
| --- a/Source/weborigin/SecurityPolicy.cpp
|
| +++ b/Source/weborigin/SecurityPolicy.cpp
|
| @@ -119,7 +119,7 @@ void SecurityPolicy::addOriginAccessWhitelistEntry(const SecurityOrigin& sourceO
|
| result.iterator->value = adoptPtr(new OriginAccessWhiteList);
|
|
|
| OriginAccessWhiteList* list = result.iterator->value.get();
|
| - list->append(OriginAccessEntry(destinationProtocol, destinationDomain, allowDestinationSubdomains ? OriginAccessEntry::AllowSubdomains : OriginAccessEntry::DisallowSubdomains));
|
| + list->append(OriginAccessEntry(destinationProtocol, destinationDomain, allowDestinationSubdomains ? OriginAccessEntry::AllowSubdomains : OriginAccessEntry::DisallowSubdomains, OriginAccessEntry::TreatIPAddressAsIPAddress));
|
| }
|
|
|
| void SecurityPolicy::removeOriginAccessWhitelistEntry(const SecurityOrigin& sourceOrigin, const String& destinationProtocol, const String& destinationDomain, bool allowDestinationSubdomains)
|
| @@ -136,7 +136,7 @@ void SecurityPolicy::removeOriginAccessWhitelistEntry(const SecurityOrigin& sour
|
| return;
|
|
|
| OriginAccessWhiteList* list = it->value.get();
|
| - size_t index = list->find(OriginAccessEntry(destinationProtocol, destinationDomain, allowDestinationSubdomains ? OriginAccessEntry::AllowSubdomains : OriginAccessEntry::DisallowSubdomains));
|
| + size_t index = list->find(OriginAccessEntry(destinationProtocol, destinationDomain, allowDestinationSubdomains ? OriginAccessEntry::AllowSubdomains : OriginAccessEntry::DisallowSubdomains, OriginAccessEntry::TreatIPAddressAsIPAddress));
|
| if (index == kNotFound)
|
| return;
|
|
|
|
|