[dev] [dexonline/dexonline] 3a7bb2: Properly convert backslashed character

GitHub noreply at github.com
Fri Oct 6 11:38:05 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dexonline/dexonline
  Commit: 3a7bb205b22cd7cae73662aa87282812341e400a
      https://github.com/dexonline/dexonline/commit/3a7bb205b22cd7cae73662aa87282812341e400a
  Author: Cezar <cezarelnazli at users.noreply.github.com>
  Date:   2017-10-04 (Wed, 04 Oct 2017)

  Changed paths:
    M phplib/AdminStringUtil.php

  Log Message:
  -----------
  Properly convert backslashed character

Convert the matched character (`$matches[1]`) instead of the entire match (`$matches[0]`, which includes the backslashes) to hex when exporting to XML. This should fix a bug where definition text such as `HOGAȘ, M\\. N\\.` gets dumped to XML as `HOGAȘ, M&#x5c; N&#x5c;`. `&#x5c;` is backslash, so the previous string translates to `HOGAȘ, M\ N\`.


  Commit: 2a237ff7a60c3a18bad2a40c07a06fefd9b6bf2e
      https://github.com/dexonline/dexonline/commit/2a237ff7a60c3a18bad2a40c07a06fefd9b6bf2e
  Author: Cezar <cezarelnazli at users.noreply.github.com>
  Date:   2017-10-04 (Wed, 04 Oct 2017)

  Changed paths:
    M phplib/AdminStringUtil.php

  Log Message:
  -----------
  Escape characters to respect formatting conventions


  Commit: 0ecb4379c98e6354c2ad974dc556de45fa852694
      https://github.com/dexonline/dexonline/commit/0ecb4379c98e6354c2ad974dc556de45fa852694
  Author: Cezar <cezarelnazli at users.noreply.github.com>
  Date:   2017-10-04 (Wed, 04 Oct 2017)

  Changed paths:
    M phplib/AdminStringUtil.php

  Log Message:
  -----------
  XML escape backslash character


  Commit: 37ca4da187376ae5c29f9bdfa99ef084022b2601
      https://github.com/dexonline/dexonline/commit/37ca4da187376ae5c29f9bdfa99ef084022b2601
  Author: Cătălin Frâncu <cata at francu.com>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M phplib/AdminStringUtil.php

  Log Message:
  -----------
  Merge pull request #613 from cezarelnazli/fix-xml-escape

Properly convert backslashed character


Compare: https://github.com/dexonline/dexonline/compare/a4b9d190ab55...37ca4da18737


More information about the Dev mailing list