Project

General

Profile

Actions

Bug #3881

closed

API : URL ending with / are seen like /[empty string parameter]

Added by Vincent MEMBRÉ about 11 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Medium
Priority:
0
Name check:
Fix check:
Checked
Regression:

Description

When using the API, if the URL ends with a / it does not call the correct function, it tries instead to call the next function with an empty value:

calling /api/rules/ should return list of all rule, but instead it looks for the rule details of Rule with an empty id ("")

We should handle those URL correctly

Actions

Also available in: Atom PDF