]> git.evergreen-ils.org Git - Evergreen.git/commit
tpac : sanity check record ID in detail page path
authorBill Erickson <berick@esilibrary.com>
Tue, 29 May 2012 13:39:58 +0000 (09:39 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 30 Jul 2012 19:05:04 +0000 (15:05 -0400)
commit785124d2f39097072fa96376c8230bf5b999d0dd
tree3fb97202fef5c57b7af860c63850d6405f1a495b
parenta3d44706598482088c42b02fe449da25475e29fe
tpac : sanity check record ID in detail page path

If the ID is malformed (or nonexistent), return a BAD_REQUEST status and
exit early to avoid any unnecessary DB lookups and error logging.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm