Commit e88ec77
fix(numbas): allow '.' in username param for SCORM route
Rails/Grape interprets '.' in a path segment as a format separator,
which broke lookups for usernames containing dots (e.g. "user.name").
Add a route requirement so :username matches any non-slash characters.1 parent a988473 commit e88ec77
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
0 commit comments