* mcs/class/System.Net/System.Net.Policy/ClientAccessPolicy.cs: Do not
throw a NotSupportedException here since it regress some DRT (like 656).
The (hopefully) correct fix (for DRT3001) will be committed inside moon
* BaseDomainPolicy.cs: Abstract-fy IsAllowed(WebRequest) and
remove abstract IsAllowed(Uri,string[]) since it cannot provide
enough information for the client access policy.
* ClientAccessPolicy.cs: Replace IsAllowed(Uri,string[]) with
IsAllowed(WebRequest) and add logic for AllowAnyMethod
* ClientAccessPolicyParser.cs: Read "http-methods" attribute (new
in SL3) and set the new AllowAnyMethod property if the value is
"*" (the only legal value if the attribute is present).
* FlashCrossDomainPolicy.cs: Add IsAllowed(WebRequest) since it's
not part of BaseDomainPolicy anymore.
svn path=/trunk/mcs/; revision=154949
2010-03-10 Sebastien Pouliot <[email protected]>
* SocketAsyncEventArgs.cs: Remove the use of reflection to check
xdomain poilicy on sockets (since the policy code now resides in
System.Net.dll)
In System.Net:
2010-03-10 Sebastien Pouliot <[email protected]>
* net_2_1_raw_System.Net.dll.sources: Add types from (new internal)
System.Net.Policy (moved from System.Windows.Browser.dll)
* Makefile: Add reference to System.Xml.dll to parse policies
In System.Net/System.Net.Policy:
2010-03-10 Sebastien Pouliot <[email protected]>
* BaseDomainPolicy.cs, ClientAccessPolicy[Parser].cs,
CrossDomainPolicyManager.cs, FlashCrossDomainPolicy[Parser].cs,
ICrossDomainPolicy.cs, NoAccessPolicy.cs, PolicyDownloadPolicy.cs,
SiteOfOriginPolicy.cs: Moved from System.Net.dll with namespace
and minor build adjustments.
svn path=/trunk/mcs/; revision=153396