Mailing List Archive

[MythTV/mythtv] c11b3a: V2 Services: Fix incorrect URL decoding and remove...
Branch: refs/heads/devel/http
Home: https://github.com/MythTV/mythtv
Commit: c11b3a25dc6f9ed0c3ab6d7e8c55e249f8209270
https://github.com/MythTV/mythtv/commit/c11b3a25dc6f9ed0c3ab6d7e8c55e249f8209270
Author: Peter Bennett <pbennett@mythtv.org>
Date: 2021-07-25 (Sun, 25 Jul 2021)

Changed paths:
M mythtv/libs/libmythbase/http/mythhttprequest.cpp
M mythtv/libs/libmythbase/http/mythhttprequest.h

Log Message:
-----------
V2 Services: Fix incorrect URL decoding and remove unnecessary check

1. URL decoding neeeds to be done on each individual field in a query.
It was being done on the whole URL, which causes various problems,
in particular any ampersands that were included as part of a value
were instead treated as new fields.

2. Remove host name check. It prevents use of TCPMON, also prevents
people from having a different name in their hosts file to access
the http server.


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits