[mythtv-commits] [MythTV/mythtv] c11b3a: V2 Services: Fix incorrect URL decoding and remove...

Peter Bennett noreply at github.com
Sun Jul 25 18:56:45 UTC 2021

  Branch: refs/heads/devel/http
  Home:   https://github.com/MythTV/mythtv
  Commit: c11b3a25dc6f9ed0c3ab6d7e8c55e249f8209270
  Author: Peter Bennett <pbennett at 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.

More information about the mythtv-commits mailing list