]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Fix an issue truncating extracted metadata content 1631/head
authorArthurHoaro <arthur@hoa.ro>
Sun, 8 Nov 2020 12:54:39 +0000 (13:54 +0100)
committerArthurHoaro <arthur@hoa.ro>
Sun, 8 Nov 2020 12:54:39 +0000 (13:54 +0100)
commit00d3dd91ef42df13eeafbcc54dcebe3238e322c6
tree123066f497546ad181c96ef2bdd1fde011457807
parent8c5f6c786d00310b2e863aa316927effb7bfeedb
Fix an issue truncating extracted metadata content

Previous regex forced the selection to stop at either the first single or double quote found, regardless of the opening quote. Using '\1', we're sure to wait for the proper quote before stopping the capture.
application/bookmark/LinkUtils.php
tests/bookmark/LinkUtilsTest.php