Project

General

Profile

Actions

Bug #13509

closed

Using API with // fails silently on Rudder 5.0

Added by Nicolas CHARLES about 6 years ago. Updated almost 3 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 #1

Updated by Nicolas CHARLES about 6 years ago

  • Subject changed from If the given token is invalid, the apache log show 500 error code, but curl only sees success to Using API with // fails silently on Rudder 5.0
  • Description updated (diff)
Actions #2

Updated by Nicolas CHARLES about 6 years ago

  • Related to Bug #13356: "//" in rudder-web/secure/api//settings/global_policy_mode cause browser/spring error added
Actions #3

Updated by Benoît PECCATTE about 6 years ago

  • Effort required set to Small
Actions #4

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 5.0.1 to 5.0.2
Actions #5

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 5.0.2 to 5.0.3
Actions #6

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 5.0.3 to 5.0.4
Actions #7

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 5.0.4 to 5.0.5
Actions #8

Updated by Alexis Mousset almost 6 years ago

  • Target version changed from 5.0.5 to 5.0.6
Actions #9

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 5.0.6 to 5.0.7
Actions #10

Updated by François ARMAND over 5 years ago

  • Target version changed from 5.0.7 to 5.0.9
Actions #11

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.9 to 5.0.10
Actions #12

Updated by Benoît PECCATTE over 5 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 44
Actions #13

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.10 to 5.0.11
  • Priority changed from 44 to 43
Actions #14

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.11 to 5.0.12
Actions #15

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.12 to 5.0.13
  • Priority changed from 43 to 42
Actions #16

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 42 to 40
Actions #17

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.14 to 5.0.15
Actions #18

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.15 to 5.0.16
Actions #19

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
Actions #20

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
Actions #21

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.18 to 5.0.19
Actions #22

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.19 to 5.0.20
Actions #23

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.20 to 797
Actions #24

Updated by Benoît PECCATTE over 3 years ago

  • Target version changed from 797 to 6.1.14
Actions #25

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #26

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #27

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #28

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
  • Priority changed from 40 to 41
Actions #29

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #30

Updated by Alexis Mousset almost 3 years ago

  • Category changed from Security to API
  • Priority changed from 41 to 42
Actions #31

Updated by François ARMAND almost 3 years ago

  • Status changed from New to Resolved

It is not the case anymore in 6.x

Actions

Also available in: Atom PDF