Roo-Code/src/integrations
Vivek Soni 7a8848de3b
fix: use decodeURIComponent in openFile (#5504)
* fix: use decodeURIComponent in openFile

* feat: add error handling for decodeURIComponent and tests

- Added try-catch block around decodeURIComponent to handle invalid escape sequences
- Falls back to original path if decoding fails
- Added comprehensive unit tests for the openFile function
- Tests cover invalid URI encoding, valid encoding, and various edge cases

* fix: update test to handle dynamic workspace paths in CI

* fix: handle Windows path separators in open-file tests

---------

Co-authored-by: Vivek Soni <vivex@Viveks-MacBook-Air-2.local>
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-07-09 19:08:35 -04:00
..
claude-code fix: resolve E2BIG error by passing large prompts via stdin to Claude CLI (#5186) 2025-06-27 20:07:04 -04:00
diagnostics Farewell jest (#4607) 2025-06-16 21:39:45 -07:00
editor fix: prevent chatbox focus loss during automated file editing (#4574) (#5349) 2025-07-03 20:43:06 -04:00
misc fix: use decodeURIComponent in openFile (#5504) 2025-07-09 19:08:35 -04:00
terminal Farewell jest (#4607) 2025-06-16 21:39:45 -07:00
theme Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
workspace Farewell jest (#4607) 2025-06-16 21:39:45 -07:00