baiwyc119 / lxmppd

Automatically exported from code.google.com/p/lxmppd
0 stars 0 forks source link

CORS not always enabled #497

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install conversejs
2. Prosody 0.9 with cross_domain_bosh = true
3. Set up auto_login and login an unregistred user 

What is the expected output? 
Expected output should be user rejected

Instead No 'Access-Control-Allow-Origin' header

Ubuntu Trusty
Prosody 0.9 official package both in a Docker container
In my setup I can login a registered user and register a new user using 
Prosody's Bosh module, Prosody's CORS implementation,
Prosody 0.9 I had the same result with prosody 0.9 .deb package from trunk 
using repository found on the official site.

Original issue reported on code.google.com by emmanuel...@gmail.com on 14 May 2015 at 7:59

GoogleCodeExporter commented 9 years ago
I fixed my work disabling prosody's CORS and add CORS Headers via Nginx

Original comment by emmanuel...@gmail.com on 14 May 2015 at 8:00

GoogleCodeExporter commented 9 years ago
Hi, thanks for the report.

Can't reproduce this. Where in the config did you set the option?

Original comment by MWild1 on 15 May 2015 at 2:06