[NETCONF-866] Do not tolerate malformed RPC/action references in requests URL Created: 23/Mar/22 Updated: 25/Mar/22 Resolved: 25/Mar/22 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
RFC8040 parsing of request URI takes RPCs and actions into account silently translating them to NodeIdentifier steps and not stopping there. This ends up potentially allowing for weird request state being produced, causes some amount of inefficiency and does not give us the tools needed for solving Tighten up parsing so that any RPC or action is treated as a terminal token, not allowing further request elements to be present. |