-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
This seems unlikely to be triggered without passing crap to the add_dash method, but since clearly people do, we should escape the regex.
Sentry Issue: MUSICBRAINZ-SERVER-26N
None: Unmatched ) in regex; marked by <-- HERE in m/) <-- HERE ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))/ at lib/MusicBrainz/Server/ControllerUtils/CDTOC.pm line 14. File "CDTOC.pm", line 14, in MusicBrainz::Server::ControllerUtils::CDTOC::add_dash my $redir = $c->relative_uri =~ s/$discid/$discid-/r; File "CDStub.pm", line 22, in MusicBrainz::Server::Controller::CDStub::_load add_dash($c, $id); File "Load.pm", line 67, in Catalyst::dispatch my $entity = $self->_load($c, @args); File "Server.pm", line 388, in MusicBrainz::Server::__ANON__ $c->$orig(@args) File "Server.pm", line 353, in MusicBrainz::Server::with_translations $code->(); ... (3 additional frame(s) were not displayed)