EarthScope / ringserver

Apache License 2.0
31 stars 17 forks source link

match param fails if starts with space #34

Open crotwell opened 2 years ago

crotwell commented 2 years ago

This URL to my ringserver works correctly: http://eeyore.seis.sc.edu/ringserver/streams?match=CO_BARN but this one, which accidentally had a space as the first char of the match pattern, returns all channels. http://eeyore.seis.sc.edu/ringserver/streams?match=%20CO_BARN

I would expect it to either give an error message or to return no channels, since there are no channels starting with a space.

chad-earthscope commented 2 years ago

Thanks. I think it should return no channels.