]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1722827: trim spaces from 856$9 when parsing locating URIs
authorRogan Hamby <rogan.hamby@gmail.com>
Fri, 14 Sep 2018 14:48:02 +0000 (10:48 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 6 Aug 2019 00:45:46 +0000 (20:45 -0400)
commit8a04cc158c1d05a79f1dcbac02034a614555f164
tree77fb688d52d2509866592463e8203346bb2a61c8
parenta3da0d727a4ee27261c42d8592d2ad37142e97d6
LP#1722827: trim spaces from 856$9 when parsing locating URIs

This patch ensures that any leading and trailing spaces
and non-breaking-spaces in the 856$9 are ignored when
extracting the org unit shortname. As a consequence,
extraneous leading/trailing whitespace in the $9 will not
prevent the located URI from being displayed in the appropriate
places.

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Meg Stroup <mstroup@statelibrary.sc.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/t/lp1722827_trim_spaces_from_located_uris.pg [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.metabib.trim_spaces_from_located_uris.sql [new file with mode: 0644]