mopidy/docs
Nick Steel 6e9ed9e8a9 http: allow local files to access websocket (Fixes #1711)
check_origin() still ensures the Origin header is set but now only blocks
when missing from the allowed list *if* a network location was extracted
from the header. This prevents websocket connections originating from
local files (common in Apache Cordova apps such as Mopidy-Mobile) from
being blocked; these files don't really have a sensible value for Origin
so the client browser sets the header to something like 'file://' or
'null'.

Also added some tests for check_origin().
2018-10-08 23:39:47 +01:00
..
_static docs: Move images out of the _static dir 2013-12-27 13:44:06 +01:00
api Merge branch 'develop' of https://github.com/mopidy/mopidy into fix/310-persist-mopidy-state-between-runs 2016-02-03 22:01:51 +01:00
clients Update URL and image in docs for RompR MPD client 2018-06-04 02:31:25 +02:00
ext Merge branch 'release-2.1' into develop 2018-06-05 22:18:08 +02:00
installation docs: updates to the Raspberry Pi install guide. 2018-04-16 23:25:54 +01:00
modules mpd: Add mount/unmount/listmounts/listneighbors command skeletons 2015-07-21 14:50:51 +02:00
audio.rst docs: Fix whitespace 2018-03-29 09:58:37 +02:00
authors.rst Update copyright year 2018-03-29 10:01:03 +02:00
changelog.rst http: allow local files to access websocket (Fixes #1711) 2018-10-08 23:39:47 +01:00
codestyle.rst Run sphinx linkcheck in tox. Fixes for a bunch of fixes for such. 2015-10-21 21:32:21 +02:00
command.rst Update command.rst 2015-09-14 11:00:44 +02:00
conf.py Update copyright year 2018-03-29 10:01:03 +02:00
config.rst Fix typos and formatting 2016-09-16 21:01:10 +02:00
contributing.rst Forum moved from discuss.m.c to discourse.m.c 2017-10-27 22:52:23 +02:00
devenv.rst Use pytest command instead of py.test 2017-06-07 23:00:10 +02:00
extensiondev.rst docs: Fix testing example 2018-06-04 02:30:41 +02:00
glossary.rst docs: Glossary typo 2015-04-24 09:50:14 +01:00
index.rst Forum moved from discuss.m.c to discourse.m.c 2017-10-27 22:52:23 +02:00
Makefile Update Sphinx Makefile with new targets 2010-10-31 02:28:56 +01:00
releasing.rst docs: Deb packaging is done on Debian infrastructure as part of the pkg-mopidy team 2016-10-24 23:12:13 +02:00
requirements.txt docs: Avoid Sphinx 1.8.0, which fails on Python 2.7 2018-09-19 21:37:17 +02:00
running.rst docs: Repurpose Debian pkg page as a service page 2016-01-18 22:05:05 +01:00
service.rst docs: Capitalize TCP in service docs 2016-02-03 13:41:04 +01:00
sponsors.rst docs: Update sponsors 2017-10-27 22:58:17 +02:00
troubleshooting.rst Forum moved from discuss.m.c to discourse.m.c 2017-10-27 22:52:23 +02:00
versioning.rst docs: Fix more comments, add refs to relevant docs 2015-03-24 23:08:38 +01:00