Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

Acl regex problem with "?" in URL

$
0
0

Hi,

I have a problem with a regex to verify an URL.

I use this acl :

acl sign path_reg /signature/state?status=[a-zA-Z0-9]*$

I have a problem with the caracter “?” when I try (http://try.org/signature/state?status=666), the ACL is not accepted.

For test, I try
acl sign path_reg /signature/state.status=[a-zA-Z0-9]*$

URL : http://try.org/signature/state*status=666 => ACL OK => go to the backend
URL : http://try.org/signature/state?status=666 => ACL KO

Do you know how I can resolve this problem ?

Thanks in advance.

Regards

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>