B4J Question AddFilter issue/limitation (?)

Cableguy

Expert
Licensed User
Longtime User
Hi guys,

I'm trying to use a filter class to catch an url like "https://www.pg-engineering.net/activation?AHGVLZD987SZHBKANSKHGEY"

so I set my filter like:
B4X:
srvr.AddFilter( "/activation?*", "ActivationFilter", False )

The Issue/limitation is that the "?" nor the "*" are not taken into account...

however, if i set it as
B4X:
srvr.AddFilter( "/activation/*", "ActivationFilter", False )
the wildcard is taken into account...

How can I workaround this? (althoug I can live with it)
 

Cableguy

Expert
Licensed User
Longtime User
I have, it doesn't work if no last "/" is present
 
Upvote 0
Top