[mythtv-commits] [MythTV/mythtv] b615b1: UserJobs/Events: quotes in %MATCH% type variables ...

billmeek noreply at github.com
Sat Jul 16 22:28:30 UTC 2022


  Branch: refs/heads/fixes/32
  Home:   https://github.com/MythTV/mythtv
  Commit: b615b139d85a4024307cdaf7ff2ff7b01e5cd513
      https://github.com/MythTV/mythtv/commit/b615b139d85a4024307cdaf7ff2ff7b01e5cd513
  Author: Bill Meek <billmeek at mythtv.org>
  Date:   2022-07-16 (Sat, 16 Jul 2022)

  Changed paths:
    M mythtv/libs/libmyth/programinfo.cpp

  Log Message:
  -----------
  UserJobs/Events: quotes in %MATCH% type variables can cause lost text

All %MATCH% type variable contents used by a job/event are expanded
into a QStringList.

Quotes in %TITLE%, %SUBTITLE% and/or %DESCRIPTION% can cause their
text to be truncated. And, if the user's script has following %MATCH%
variables, lost text can end up in them.

This commit replaces the " QUOTATION MARK (U+0022) with
                         ʺ MODIFIER LETTER DOUBLE PRIME (U+02BA)

Just to compare the two: "ʺ"ʺ"ʺ"ʺ"ʺ.

Forum URL: https://forum.mythtv.org/viewtopic.php?f=36&t=4883

(cherry picked from commit dd68df4676224979a625c379c60985e272af3b1a)


  Commit: 365406638a4a9239e114e5ad3353d9411545a3d5
      https://github.com/MythTV/mythtv/commit/365406638a4a9239e114e5ad3353d9411545a3d5
  Author: Bill Meek <billmeek at mythtv.org>
  Date:   2022-07-16 (Sat, 16 Jul 2022)

  Changed paths:
    M mythtv/libs/libmyth/programinfo.cpp

  Log Message:
  -----------
  programinfo.cpp: adds comment about quotes in %MATCH% variables

(cherry picked from commit a31c085783948070a3840c5190370599043fd629)


Compare: https://github.com/MythTV/mythtv/compare/b0db4141b336...365406638a4a


More information about the mythtv-commits mailing list