http://%20%20%20%20 We should not provide such useless links. The field only contained four spaces.
Created attachment 188311 [details] [review] Bug 41081: Remove spaces around 856$u in results and detail xslt This patch does prevent creating useless links built on spaces like http://%20%20%20%20 on the bug report. A next step would be to stop preventing to create them when validating during cataloguing. Test plan: Check without patch. Create biblio with 856u having just a few spaces. Verify that you see a useless Online resources link on OPAC or intranet (detail and results). Apply patch. Restart all. Verify that you do not see the link anymore. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Trivial fix. Four lines in xslt. Self SO