get-numeric-field-value: correct error message
This commit is contained in:
parent
44100cbf5e
commit
8bf71fc3a5
|
@ -102,7 +102,7 @@
|
|||
(if (and (integer? field-value) (>= field-value 0)) ;;yes, field value contained only digits
|
||||
field-value
|
||||
(http-error (status-code bad-request) req
|
||||
(format #f "~A header contained characters other than digits" field-name))))
|
||||
(format #f "~A header contained characters other than digits or whitespace between digits" field-name))))
|
||||
#f)))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue