Issue with blocking URLs with "?" in Pangolin #1408

Open
opened 2026-04-05 19:24:50 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @rudoma on 6/4/2025

Hi everyone,

First of all, thanks for the great work on Pangolin — I’m new to the project and really enjoying it so far!

Today I tried to add a rule to block specific login URLs for my self-hosted services, starting with Audiobookshelf. I’d like to block all requests to:

/audiobookshelf/login/?autoLaunch=0

This URL allows bypassing the automatic redirect to the OAuth provider, which I neither want nor need. I’d like to prevent direct access via this query parameter.

I encountered the same issue with Immich:

/auth/login?autoLaunch=0

Unfortunately, I couldn’t get it to work — even when trying with wildcards.
Is there a recommended way to block requests with specific query parameters like this in Pangolin?

Thanks in advance for your help!

*Originally created by @rudoma on 6/4/2025* Hi everyone, First of all, thanks for the great work on Pangolin — I’m new to the project and really enjoying it so far! Today I tried to add a rule to block specific login URLs for my self-hosted services, starting with Audiobookshelf. I’d like to block all requests to: /audiobookshelf/login/?autoLaunch=0 This URL allows bypassing the automatic redirect to the OAuth provider, which I neither want nor need. I’d like to prevent direct access via this query parameter. I encountered the same issue with Immich: /auth/login?autoLaunch=0 Unfortunately, I couldn’t get it to work — even when trying with wildcards. Is there a recommended way to block requests with specific query parameters like this in Pangolin? Thanks in advance for your help!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1408