[PR #4175] [MERGED] validate the format of the digest when getting the model path #21948

Closed
opened 2026-04-19 15:58:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4175
Author: @pdevine
Created: 5/5/2024
Status: Merged
Merged: 5/5/2024
Merged by: @pdevine

Base: mainHead: pdevine/digestmatch


📝 Commits (1)

  • 4f1c2a5 validate the format of the digest when getting the model path

📊 Changes

2 files changed (+84 additions, -4 deletions)

View changed files

📝 server/modelpath.go (+16 -3)
📝 server/modelpath_test.go (+68 -1)

📄 Description

No description provided


🔄 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/4175 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 5/5/2024 **Status:** ✅ Merged **Merged:** 5/5/2024 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `pdevine/digestmatch` --- ### 📝 Commits (1) - [`4f1c2a5`](https://github.com/ollama/ollama/commit/4f1c2a5cdf1d72d8bd034120643aceee6e7d4894) validate the format of the digest when getting the model path ### 📊 Changes **2 files changed** (+84 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `server/modelpath.go` (+16 -3) 📝 `server/modelpath_test.go` (+68 -1) </details> ### 📄 Description _No description provided_ --- <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-19 15:58:33 -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#21948