Project

General

Profile

Bug #13509

Updated by Nicolas CHARLES about 6 years ago

I tried to create a rule, using a doubl / in the URL 
 an invalid token  
 I got no error 
 <pre> 
 root@server:~# curl -k -H "X-API-Token: c8173754-1e34-4710-a25a-a6f17fb2d70d-system" -X PUT 'https://localhost/rudder/api//latest/rules' -d "displayName=TestAddI" 
 root@server:~# echo $? 
 0 

 </pre> 

 but nothing happend 

 indeed 
 <pre> 
 ==> /var/log/rudder/apache2/access.log <== 
 ::1 - - [18/Sep/2018:15:02:08 +0200] "PUT /rudder/api//latest/rules HTTP/1.1" 500 1699 "-" "curl/7.52.1" 
 </pre> 

 removing the double // solves the issue

Back