hackatime/app/controllers/my
Mahad Kalam a9f3b613cd
Fix crash when project name contains newline characters (#1096)
Project names with newlines (e.g. from misbehaving editor plugins) caused
ActionController::UrlGenerationError when loading /my/projects because Rails
route constraints reject newlines in URL parameters.

- Strip control characters from project names at heartbeat ingestion time
- Detect newlines in broken_project_name? to mark such projects as broken
- Skip URL generation for broken project names to prevent the crash

https://claude.ai/code/session_016CtSDw18BePckUBQ2teeuQ

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-20 20:21:12 +00:00
..
heartbeat_imports_controller.rb Add Sentry monitoring for previously unreported errors (#1066) 2026-03-13 11:06:12 +00:00
heartbeats_controller.rb WakaTime/Hackatime v1 imports + Settings v2 (#1062) 2026-03-12 21:27:10 +00:00
project_repo_mappings_controller.rb Fix crash when project name contains newline characters (#1096) 2026-03-20 20:21:12 +00:00