Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrustProxies middleware is never loaded #15374

Closed
2 tasks done
setpill opened this issue Aug 22, 2024 · 1 comment
Closed
2 tasks done

TrustProxies middleware is never loaded #15374

setpill opened this issue Aug 22, 2024 · 1 comment

Comments

@setpill
Copy link
Contributor

setpill commented Aug 22, 2024

Debug mode

Describe the bug

app/Http/Middleware/TrustProxies.php defines a middleware for "Trusted Proxies"; however, it does not appear to be loaded anywhere. For comparison; laravel/laravel.com follows a similar pattern to the middleware as this repo does, but loads it in app/Http/Kernel.php.

Reproduction steps

Expected behavior

Screenshots

No response

Snipe-IT Version

master

Operating System

Web Server

PHP Version

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

Copy link

welcome bot commented Aug 22, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

setpill added a commit to setpill/snipe-it that referenced this issue Aug 22, 2024
snipe added a commit that referenced this issue Aug 23, 2024
fixed #15374: load TrustProxies middleware in Kernel.php
@snipe snipe closed this as completed in 1d7853c Aug 23, 2024
FlorentDotMe pushed a commit to TelecomsSansFrontieres/snipe-it that referenced this issue Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant