Project

General

Profile

Actions

Bug #13509

closed

Using API with // fails silently on Rudder 5.0

Added by Nicolas CHARLES over 5 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
API
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Small
Priority:
42
Name check:
Fix check:
Regression:

Description

I tried to create a rule, using a doubl / in the URL
I got no error

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

but nothing happend

indeed

==> /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" 

removing the double // solves the issue


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #13356: "//" in rudder-web/secure/api//settings/global_policy_mode cause browser/spring errorReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF