Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Disable CORS by default #1306

Closed
davidfowl opened this Issue · 1 comment

2 participants

@davidfowl
Owner

Add a flag to ConnectionConfiguration.

@davidfowl davidfowl was assigned
@davidfowl davidfowl referenced this issue from a commit
@davidfowl davidfowl Disable cross domain requests by default.
- Added EnableCrossDomain flag to ConnectionConfiguration.
- Reject JSONP and cross domain requests with the origin header by default
  if EnableCrossDomain isn't true.
- Refactored HubDispatcherHandler and PersistentConnectionHandler to take
  respective configuration objects.

#1306
034b4a8
@Xiaohongt
Collaborator

verified

@Xiaohongt Xiaohongt closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.