Where are you getting fullUrl from, should be url()->full();
Laravel duplicating path as a query string
Hi,
I am facing a weird problem and not sure why or how to fix it. When visiting a url, something is duplicating the path as a query string. For example if I am visiting "xxxx.com/admin" the url that's reported by Laravel by calling $request->fullUrl is "xxxx.com/admin?admin=". I am not sure what exactly is causing that, but I printing out the full url in index.php before Laravel takes over and it has the same issue so I am guessing that nginx is the issue. However not sure what part in my config is causing it. If anyone can help me I'd be very grateful. My nginx is confit is here https://pastebin.com/qyjg8yJW
Please or to participate in this conversation.