diff options
author | sofar <sofar+github@foo-projects.org> | 2019-03-04 23:12:02 -0800 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2019-03-05 08:12:02 +0100 |
commit | b5defcffba12dbbcd70676ed4626929761e25620 (patch) | |
tree | 4f7e369795ec24ea63edeaa72b6722625f507eae /src/script/lua_api/l_client.cpp | |
parent | 61e5fbab721898a431b15a5a7e24efb58cd80eb4 (diff) | |
download | minetest-b5defcffba12dbbcd70676ed4626929761e25620.tar.gz minetest-b5defcffba12dbbcd70676ed4626929761e25620.tar.bz2 minetest-b5defcffba12dbbcd70676ed4626929761e25620.zip |
Add referer to remote media requests. (#8135)
This sends the following header to a remote media server:
Referer: minetest://<server_name>:port
This was verified with CTF and the Minetest Public Remove Media
server. If the servername was a plain IPv6 address it will
contain `:` characters and will be encapsulated in `[]` to
be a valid URI.
Diffstat (limited to 'src/script/lua_api/l_client.cpp')
0 files changed, 0 insertions, 0 deletions