Hi,
I'm using doxi/contrib/nx_util/nx_util.py to do it : all work fine but i have a litle problem for one HTTPS call :
An AJAX call done in POST make this error : it call upload an image
And it producing this white list line
BasicRule wl:2 "mz:$URL:/calendar/submit/|BODY";
When i plug this white list line in nginx conf, the call stay blocked by NAXSI
Do someone have an idea about this problem please ?
Here the details of the call :
Request URL:
Request Method:
POST
Status Code:
501 OK
Remote Address:
- Response Headers
content-length:
576
content-type:
text/html; charset=utf8
date:
Tue, 09 Feb 2016 00:03:29 GMT
server:
nginx
status:
501
version:
HTTP/1.1
- Request Headers
:host:
:method:
POST
:path:
/calendar/submit/?y=2016&m=02&d=17
:scheme:
https
:version:
HTTP/1.1
accept:
*/*
accept-encoding:
gzip, deflate
accept-language:
fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
content-length:
656725
content-type:
multipart/form-data; boundary=----WebKitFormBoundary0xbAYCFHyoozMuJj
cookie:
ips4_IPSSessionFront=48cb5c4237a4f696c2ba3ba55260a0e7; ips4_hasJS=true; ips4_member_id=1; ips4_pass_hash=92eff5d2e1a4e26bfbfd16f2fef95aa7; ips4_ipsTimezone=Europe/Paris; _ga=GA1.2.970888670.1446149119
origin:
referer:
user-agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
x-plupload:
5e325c3051979e88aea5d024861cfe25
- Query String Parametersview sourceview URL encoded
y:
2016
m:
02
d:
17
- Request Payload
- ------WebKitFormBoundary0xbAYCFHyoozMuJj
Content-Disposition: form-data; name="name"
HappyBioVertGros.png
------WebKitFormBoundary0xbAYCFHyoozMuJj
Content-Disposition: form-data; name="chunk"
0
------WebKitFormBoundary0xbAYCFHyoozMuJj
Content-Disposition: form-data; name="chunks"
1
------WebKitFormBoundary0xbAYCFHyoozMuJj
Content-Disposition: form-data; name="event_cover_photo"; filename="myImage.png"
Content-Type: image/png
------WebKitFormBoundary0xbAYCFHyoozMuJj--
Regards,
Xavier