]> 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:47:15 +0000 (20:47 -0400)
commit261e0a6e6ec61884392349ea45211005156961f5
tree63b478a2c6cc2660b65a89c42bb2045cece9493b
parent28f4db918c702a0570c1491d7120b7fb61fae9ee
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]