{"action":"opened","issue":{"url":"https://api.github.com/repos/crossbario/crossbar/issues/202","labels_url":"https://api.github.com/repos/crossbario/crossbar/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/crossbario/crossbar/issues/202/comments","events_url":"https://api.github.com/repos/crossbario/crossbar/issues/202/events","html_url":"https://github.com/crossbario/crossbar/issues/202","id":53976838,"number":202,"title":"registering a function under an illegal URI does not throw an error ","user":{"login":"markope","id":1944925,"avatar_url":"https://avatars.githubusercontent.com/u/1944925?v=3","gravatar_id":"","url":"https://api.github.com/users/markope","html_url":"https://github.com/markope","followers_url":"https://api.github.com/users/markope/followers","following_url":"https://api.github.com/users/markope/following{/other_user}","gists_url":"https://api.github.com/users/markope/gists{/gist_id}","starred_url":"https://api.github.com/users/markope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markope/subscriptions","organizations_url":"https://api.github.com/users/markope/orgs","repos_url":"https://api.github.com/users/markope/repos","events_url":"https://api.github.com/users/markope/events{/privacy}","received_events_url":"https://api.github.com/users/markope/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-11T00:29:01Z","updated_at":"2015-01-11T00:29:01Z","closed_at":null,"body":"If you try to register  function under a malformed URI no error is thrown and the register call seems to block. Example code:\r\n\r\n```python\r\nfrom twisted.internet.defer import inlineCallbacks, returnValue\r\n\r\nfrom autobahn import wamp\r\nfrom autobahn.twisted.wamp import ApplicationSession\r\n\r\n\r\nclass MySession(ApplicationSession):\r\n\r\n   @inlineCallbacks\r\n   def onJoin(self, details):\r\n\r\n      def uri_test():\r\n         return 'ok'\r\n\r\n      try:\r\n         yield self.register(uri_test,'reone.uri_test foo');   #<--- This URI is malformed\r\n         print (\"registered uri_test\")\r\n      except Exception as e:\r\n         print(\"could not register uri_test: {0}\".format(e))\r\n\r\n    \r\nif __name__ == '__main__':\r\n   from autobahn.twisted.wamp import ApplicationRunner\r\n\r\n   runner = ApplicationRunner(url = \"ws://127.0.0.1:8080/ws\", realm = \"realm1\")\r\n   runner.run(MySession)\r\n\r\n```"}}