media is not proxied for i2p and tor
Iceshrimp always serves media using clearnet addresses, local media is also not proxied at all (uses public s3 address). this results in all media failing to load with an i2p/tor config without an outproxy/exit node.
Priority: Normal → Low
Target version: v2025.2
Component: Core services
State: Untriaged → Triaged
Project
Iceshrimp.NETPriority
LowL
Type
BugB
State
TriagedT
Assignee
Laura HausmannSubsystem
BackendB
Component
Core servicesC
Affected version
v2025.1-beta5V
Target version
v2025.2V
Released in version
Unreleased
The likely optimal solution for this is to add two new configuration options:
ProxyAllMedia(defaults tofalse)ProxyBaseUrl(defaults tohttps://{webDomain}After these have been added, we need to make
MediaProxyServicerespect these options, both for drive files and for emoji. Even after this, there still are a couple other parts in the codebase that rely on the web domain - for example the identicon endpoint - so it may be more optimal to have a baseurl specified in the main instance configuration section instead, and replacing all mentions ofhttps://{webDomain}(and similar) in the codebase with this new overridable-but-computed-by-default option.Definitely something to think about.