gnucash-htdocs master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Thu Jul 7 20:41:43 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/b6cdfa67 (commit)
	 via  https://github.com/Gnucash/gnucash-htdocs/commit/ed74076f (commit)
	 via  https://github.com/Gnucash/gnucash-htdocs/commit/6ec7bb2c (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/31227423 (commit)



commit b6cdfa679a59807ee21deb9f8599623578938ef4
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Jul 7 15:24:16 2022 -0700

    Refactor locale detection.
    
    Parse all language strings the same regardless of source.
    Use language quality factors if included.

commit ed74076f0505e9b171153f8a1c4f30e88a6b1218
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Jul 7 14:26:57 2022 -0700

    Filter language cookie and HTTP_ACCEPT_LANGUAGE_HEADER.
    
    To prevent attacks with forged cookies or headers.

commit 6ec7bb2c80e77e792848627fbc5887c0ec71c260
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Jul 7 14:11:08 2022 -0700

    Test locale against lang array keys.
    
    Prevents error messages for invalid/unsupported locales.



Summary of changes:
 lang.php | 122 ++++++++++++++++++++++++++++++---------------------------------
 1 file changed, 59 insertions(+), 63 deletions(-)



More information about the gnucash-patches mailing list