mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #5520] File uploads in form-data are not being sent to target APIs after upgrading from 2025.6.1 to 2025.9.2 (All-in-One) #2127
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @farhatakrout on GitHub (Oct 28, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5520
After upgrading Hoppscotch All-in-One from version 2025.6.1 to 2025.9.2, I noticed that file uploads defined in form-data requests are no longer passed through to the target APIs.
In the previous version (2025.6.1), uploading files worked correctly — the files were included in the API requests.
After the upgrade, the files are not being transmitted at all, and the target APIs receive the request without the file data.
Steps to Reproduce
Run Hoppscotch All-in-One using Docker (see configuration below).
Create a request with Body → form-data containing a file field.
Send the request to any API expecting a file upload.
Observe that the file is not received by the target API.
Environment
Hoppscotch version: 2025.9.2 (All-in-One)
Previous working version: 2025.6.1
Deployment: Docker Compose
Database: PostgreSQL 15
Host OS: Debian 12
Browser: Chrome 141, Firefox 144
Docker Compose Setup
`version: "3.8"
services:
hoppscotch-db:
image: postgres:15
container_name: hoppscotch-db
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: hoppscotch
volumes:
- hoppscotch-data:/var/lib/postgresql/data
networks:
- hoppscotch-net
migrations:
image: hoppscotch/hoppscotch:2025.9.2
container_name: hoppscotch-migrations
depends_on:
- hoppscotch-db
environment:
DATABASE_URL: "postgresql://postgres:postgres@hoppscotch-db:5432/hoppscotch"
JWT_SECRET: "example-jwt-secret"
SESSION_SECRET: "example-session-secret"
TOKEN_SALT_COMPLEXITY: "10"
DATA_ENCRYPTION_KEY: "EXAMPLEENCRYPTIONKEY1234567890"
VITE_BASE_URL: "http://example.com:8080"
VITE_BACKEND_API_URL: "http://example.com:8081/v1"
VITE_BACKEND_GQL_URL: "http://example.com:8081/graphql"
VITE_BACKEND_WS_URL: "ws://example.com:8081/graphql"
VITE_ADMIN_URL: "http://example.com:8082"
WHITELISTED_ORIGINS: "http://example.com:8080,http://example.com:8081,http://example.com:8082"
MAILER_ENABLED: "true"
MAILER_SMTP_URL: "smtp://apikey:SG.examplekey@smtp.example.net:587"
MAILER_ADDRESS_FROM: "noreply@example.com"
command: >
sh -c "npx prisma migrate deploy"
networks:
- hoppscotch-net
hoppscotch:
image: hoppscotch/hoppscotch:2025.9.2
container_name: hoppscotch
depends_on:
- hoppscotch-db
- migrations
environment:
DATABASE_URL: "postgresql://postgres:postgres@hoppscotch-db:5432/hoppscotch"
JWT_SECRET: "example-jwt-secret"
SESSION_SECRET: "example-session-secret"
TOKEN_SALT_COMPLEXITY: "10"
DATA_ENCRYPTION_KEY: "EXAMPLEENCRYPTIONKEY1234567890"
MAILER_ENABLED: "true"
VITE_BASE_URL: "http://example.com:8080"
VITE_BACKEND_API_URL: "http://example.com:8081/v1"
VITE_BACKEND_GQL_URL: "http://example.com:8081/graphql"
VITE_BACKEND_WS_URL: "ws://example.com:8081/graphql"
VITE_ADMIN_URL: "http://example.com:8082"
WHITELISTED_ORIGINS: "http://example.com:8080,http://example.com:8081,http://example.com:8082"
MAILER_SMTP_URL: "smtp://apikey:SG.examplekey@smtp.example.net:587"
MAILER_ADDRESS_FROM: "noreply@example.com"
ports:
- "8080:3000"
- "8081:3170"
- "8082:3100"
networks:
- hoppscotch-net
volumes:
hoppscotch-data:
external: true
networks:
hoppscotch-net:
driver: bridge
`
@jamesgeorge007 commented on GitHub (Oct 28, 2025):
Hi @farhatakrout, this is a known issue and a potential duplicate of #5443. We've a fix up addressing this, scheduled for the upcoming major release. In the meantime, it is recommended to opt out of the Experimental scripting sandbox via
Settings > Experiments. Closing, please keep track of the same in the above issue.@jamesgeorge007 commented on GitHub (Oct 31, 2025):
This is now resolved in the latest release.