[PR #2800] [MERGED] Use relative URLs for avatars on the dashboard #16599

Closed
opened 2025-11-02 12:14:21 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2800
Author: @cstyles
Created: 10/28/2017
Status: Merged
Merged: 10/31/2017
Merged by: @lunny

Base: masterHead: rellink


📝 Commits (2)

  • c92840e Use RelAvatarLink() in GetActAvatar()
  • 3ec4022 Merge branch 'master' into rellink

📊 Changes

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

View changed files

📝 models/action.go (+1 -1)

📄 Description

This commit fixes an issue with avatars that I've encountered on the home dashboard. The bug doesn't occur in 1.1.4 but it does in every release in the 1.2.x series. In the feed, the full URL for avatars (e.g., http://10.0.0.2:3000/avatars/29fbdca3e9ae935c9a5e12561bb4f086) is used. With this commit, now the URL will just be something like /avatars/eb6935a516d40bf3985ded3b01b1bcb7.


🔄 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/go-gitea/gitea/pull/2800 **Author:** [@cstyles](https://github.com/cstyles) **Created:** 10/28/2017 **Status:** ✅ Merged **Merged:** 10/31/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `rellink` --- ### 📝 Commits (2) - [`c92840e`](https://github.com/go-gitea/gitea/commit/c92840e56be6304caabc5acc1a29386de715b745) Use RelAvatarLink() in GetActAvatar() - [`3ec4022`](https://github.com/go-gitea/gitea/commit/3ec40224086076e5253635647b7ce2cc96fcc32c) Merge branch 'master' into rellink ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `models/action.go` (+1 -1) </details> ### 📄 Description This commit fixes an issue with avatars that I've encountered on the home dashboard. The bug doesn't occur in 1.1.4 but it does in every release in the 1.2.x series. In the feed, the full URL for avatars (e.g., `http://10.0.0.2:3000/avatars/29fbdca3e9ae935c9a5e12561bb4f086`) is used. With this commit, now the URL will just be something like `/avatars/eb6935a516d40bf3985ded3b01b1bcb7`. --- <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 2025-11-02 12:14:21 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16599