[PR #15819] fix: improve image path regex for special characters #62015

Open
opened 2026-04-29 16:58:28 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15819
Author: @mitre88
Created: 4/26/2026
Status: 🔄 Open

Base: mainHead: fix-image-path-regex


📝 Commits (1)

  • 9fdb8ce fix: improve image path regex for special characters like @

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 cmd/interactive.go (+2 -1)

📄 Description

Fixes #10333. Removes word boundary constraint that broke paths with @ before extension (e.g. CleanShot@2x.png). Also handles escaped @ characters from shell drag-and-drop.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/15819 **Author:** [@mitre88](https://github.com/mitre88) **Created:** 4/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix-image-path-regex` --- ### 📝 Commits (1) - [`9fdb8ce`](https://github.com/ollama/ollama/commit/9fdb8ce1da0d46ba72463d6cd50f36480015057f) fix: improve image path regex for special characters like @ ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/interactive.go` (+2 -1) </details> ### 📄 Description Fixes #10333. Removes word boundary constraint that broke paths with @ before extension (e.g. CleanShot@2x.png). Also handles escaped @ characters from shell drag-and-drop. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 16:58:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62015