apache / apache/answer

Uploaded images become inaccessible after the domain was changed.

Open
#861 28 comments 0 reactions 1 assignee Claimed by @Octobug View on GitHub
bug
Dominant language
Go
Stars
15.7k
Forks
1.4k
Avg merge
3d 8h
Merged PRs (30d)
7

Description

## Describe the bug

Uploaded images become inaccessible after the domain was changed. I only tested it in development env.

### To Reproduce

Steps to reproduce the behavior:

1. Under `domain.old`, you uploaded your custom avatar.
2. You updated `domain.old` to `domain.new`, and the uploaded avatar became inaccessible.
- Domain changes are very common.

### Expected behavior

Uploaded files should serve well no matter what the domain is.

### Screenshots

image

image

### Platform

- Device: Desktop
- OS: macOS Ventura 13.6.1
- Browser and version: Chrome 122.0.6261.129 (Official Build) (x86_64)
- Version: v1.2.5

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.