Skip to content

Instantly share code, notes, and snippets.

@hns
Created June 9, 2010 14:35
Show Gist options
  • Save hns/431560 to your computer and use it in GitHub Desktop.
Save hns/431560 to your computer and use it in GitHub Desktop.
Index: cometd-java/server/src/main/java/org/cometd/server/AbstractBayeux.java
===================================================================
--- cometd-java/server/src/main/java/org/cometd/server/AbstractBayeux.java (Revision 1264)
+++ cometd-java/server/src/main/java/org/cometd/server/AbstractBayeux.java (Arbeitskopie)
@@ -1348,10 +1348,8 @@
return;
}
- if (_securityPolicy.canPublish(client,channel_id,message))
- {
- _root.doDelivery(getChannelId(channel_id),client,message);
- }
+ // no security checks for meta channels
+ _root.doDelivery(getChannelId(channel_id),client,message);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment