mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* 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