joaotavora / snooze

Common Lisp RESTful web development
207 stars 22 forks source link

Check for empty string case. #28

Open atgreen opened 3 years ago

atgreen commented 3 years ago

After updating quicklisp and sbcl recently, I've discovered that I need to add this bit of code. The empty string will cause a subseq error later in the function ... essentially (subseq "" 1)

I don't know if this is because snooze changed, hunchtoot changed, sbcl changed, or ??? But it's a reasonable patch, IMO.

mdbergmann commented 3 years ago

I also came across this issue wondering what suddenly caused it.