segler-alex / radiobrowser-api-rust

radio-browser API implementation in rust
GNU Affero General Public License v3.0
234 stars 104 forks source link

Idea: Use regex to remove query parameters in vandalized URLS #157

Closed JazzfanRS closed 1 year ago

JazzfanRS commented 2 years ago

Using simple regex to trim query parameters (anything after the ?) from streaming URLS before publishing a submitted station to hinder vandalism. And because this is all free to submit, or free to use the database. referrer links etc. shouldn't be allowed.