I'm seeing a strange issue that didn't occur with the old WebPageSecurity. Specifically, I've got the following paths defined:
<add path="~/register/" />
<add path="~/services/" security="Ignore" />
On my register page, I've got some AJAX calls to a script (via GET) in the services path. With WebPageSecurity, this configuration worked fine. With securitySwitch though, webservice calls fail and are reported as "Pending" by Chrome when the paths are configured as above. I'm not yet sure if it's the request that isn't getting to the server or the response not coming back.
In any case, if I change the order so that the services folder is listed first like so:
<paths>
<add path="~/services/" security="Ignore" /> <add path="~/register/" />
It seems to work okay. A couple of notes:
- Making the calls manually in the browser's URL field (ie. not AJAX) works fine in BOTH configurations -- I get a response from the server fine.
- These particular calls are being performed synchronously. Haven't tested to see if async calls have the same issue.
- As I mentioned, this only started happening once I upgraded to SecuritySwitch.
I'm not sure if this is expected behavior (I do realize that path order is important), a server configuration issue, or just something beyond control, but I figured I'd mention it.