[BUG] ClaudeFilePathFilter throws InvalidPathException when parsing URLs in terminal output
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
ClaudeFilePathFilter throws InvalidPathException when parsing URLs in terminal output
Environment
OS: Windows 11
IDE: IntelliJ IDEA (please add your version)
Plugin: Claude Code Plugin (please add your version)
What Should Happen?
Steps to Reproduce
Open IntelliJ IDEA with Claude Code plugin installed
Open a terminal (PowerShell)
Trigger any output containing a URL (e.g., PowerShell's upgrade notification message)
Exception is thrown in the background
Error Messages/Logs
com.intellij.execution.filters.CompositeFilter$ApplyFilterException:
Error while applying com.anthropic.code.plugin.terminal.ClaudeFilePathFilter@77e9dc8d
to '새로운 기능 및 개선 사항에 대한 최신 PowerShell을 설치하세요! https://aka.ms/PSWindows'
Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 5: https://aka.ms/PSWindows
Steps to Reproduce
Root Cause
ClaudeFilePathFilter.findMatches() does not filter out URL patterns before attempting to resolve them as file paths.
Suggested Fix
Add URL pattern detection (e.g., https://, http://, ftp://) in ClaudeFilePathFilter to skip URL strings before path resolution.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.58
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗