Project

General

Profile

Actions

Bug #13509

closed

Using API with // fails silently on Rudder 5.0

Bug #13509: Using API with // fails silently on Rudder 5.0

Added by Nicolas CHARLES over 7 years ago. Updated over 4 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

Updated by Nicolas CHARLES over 7 years ago Actions #1

  • 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)

Updated by Nicolas CHARLES over 7 years ago Actions #2

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

Updated by Benoît PECCATTE over 7 years ago Actions #3

  • Effort required set to Small

Updated by Vincent MEMBRÉ over 7 years ago Actions #4

  • Target version changed from 5.0.1 to 5.0.2

Updated by Vincent MEMBRÉ over 7 years ago Actions #5

  • Target version changed from 5.0.2 to 5.0.3

Updated by Vincent MEMBRÉ over 7 years ago Actions #6

  • Target version changed from 5.0.3 to 5.0.4

Updated by Vincent MEMBRÉ over 7 years ago Actions #7

  • Target version changed from 5.0.4 to 5.0.5

Updated by Alexis Mousset over 7 years ago Actions #8

  • Target version changed from 5.0.5 to 5.0.6

Updated by Vincent MEMBRÉ over 7 years ago Actions #9

  • Target version changed from 5.0.6 to 5.0.7

Updated by François ARMAND over 7 years ago Actions #10

  • Target version changed from 5.0.7 to 5.0.9

Updated by Vincent MEMBRÉ about 7 years ago Actions #11

  • Target version changed from 5.0.9 to 5.0.10

Updated by Benoît PECCATTE about 7 years ago Actions #12

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

Updated by Vincent MEMBRÉ about 7 years ago Actions #13

  • Target version changed from 5.0.10 to 5.0.11
  • Priority changed from 44 to 43

Updated by Vincent MEMBRÉ about 7 years ago Actions #14

  • Target version changed from 5.0.11 to 5.0.12

Updated by Vincent MEMBRÉ almost 7 years ago Actions #15

  • Target version changed from 5.0.12 to 5.0.13
  • Priority changed from 43 to 42

Updated by Vincent MEMBRÉ almost 7 years ago Actions #16

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 42 to 40

Updated by Vincent MEMBRÉ over 6 years ago Actions #17

  • Target version changed from 5.0.14 to 5.0.15

Updated by Vincent MEMBRÉ over 6 years ago Actions #18

  • Target version changed from 5.0.15 to 5.0.16

Updated by Alexis Mousset over 6 years ago Actions #19

  • Target version changed from 5.0.16 to 5.0.17

Updated by Vincent MEMBRÉ about 6 years ago Actions #20

  • Target version changed from 5.0.17 to 5.0.18

Updated by Vincent MEMBRÉ almost 6 years ago Actions #21

  • Target version changed from 5.0.18 to 5.0.19

Updated by Vincent MEMBRÉ almost 6 years ago Actions #22

  • Target version changed from 5.0.19 to 5.0.20

Updated by Vincent MEMBRÉ over 5 years ago Actions #23

  • Target version changed from 5.0.20 to 797

Updated by Benoît PECCATTE almost 5 years ago Actions #24

  • Target version changed from 797 to 6.1.14

Updated by Vincent MEMBRÉ almost 5 years ago Actions #25

  • Target version changed from 6.1.14 to 6.1.15

Updated by Vincent MEMBRÉ almost 5 years ago Actions #26

  • Target version changed from 6.1.15 to 6.1.16

Updated by Vincent MEMBRÉ almost 5 years ago Actions #27

  • Target version changed from 6.1.16 to 6.1.17

Updated by Vincent MEMBRÉ over 4 years ago Actions #28

  • Target version changed from 6.1.17 to 6.1.18
  • Priority changed from 40 to 41

Updated by Vincent MEMBRÉ over 4 years ago Actions #29

  • Target version changed from 6.1.18 to 6.1.19

Updated by Alexis Mousset over 4 years ago Actions #30

  • Category changed from Security to API
  • Priority changed from 41 to 42

Updated by François ARMAND over 4 years ago Actions #31

  • Status changed from New to Resolved

It is not the case anymore in 6.x

Actions

Also available in: PDF Atom