HDInnovations / UNIT3D-Community-Edition

Private Torrent Tracker Built With Laravel, Livewire and AlpineJS.
GNU Affero General Public License v3.0
1.94k stars 370 forks source link

[Bug] 405 GET request instead of POST request when navigating forum pages #4082

Open Audionut opened 3 weeks ago

Audionut commented 3 weeks ago

UNIT3D Version

Bleeding edge

PHP & Platform

8.3.10

Laravel verion

11.19.0

Have you done this?

Expectation

Navigating forum pages via new tabs doesn't error

Description

Navigate to a forum thread page using the page markers, right click a page marker and open in a new tab.

It works fine when going to a thread via a notification for instance, but as soon as you use a page marker to navigate to some other page of the thread, it errors.

I noticed also that it (now?) shows this as the link /livewire/update?page=151 instead of the actual forum page link displayed in the url bar.

Stack trace & logs

No response

Upvote & Fund

Fund with Polar

Roardom commented 3 weeks ago

Livewire pagination currently relies on js, using left click only. You probably either middle clicked or your js is disabled.

Roardom commented 3 weeks ago

Upstream livewire issue: https://github.com/livewire/livewire/discussions/3079