system
April 21, 2025, 11:12am
1
GitHub discussion middleware-manager #16 in General , started by oidebrett on GitHub
In the latest dev branch Commit effc0b1, some new middleware types are not showing correctly when editing middlewares. I tried types of replacepathregex and redirectregex (from a new template middleware I defined). I know this is a development branch so not to expect 100% working. Just wanted to let you know.
Join in here or on GitHub .
system
April 21, 2025, 11:16am
2
hhftechnology commented on GitHub :
let me know the lists of middleware which are not working so i can check
system
April 21, 2025, 12:04pm
3
oidebrett commented on GitHub :
Try any of the regex ones and you will see the drop-down is incorrect
system
April 22, 2025, 10:09am
4
oidebrett commented on GitHub :
I found the root cause of this issue. Its actually a templates.yml entry error
- id: nextcloud-dav
name: Nextcloud WebDAV Redirect
type: replacepathregex
config:
regex: "^/.well-known/ca(l|rd)dav"
replacement: "/remote.php/dav/"
should be
- id: nextcloud-dav
name: Nextcloud WebDAV Redirect
type: replacePathRegex
config:
regex: "^/.well-known/ca(l|rd)dav"
replacement: "/remote.php/dav/"
Apparently case matters in middleware types
system
April 23, 2025, 10:52am
5
hhftechnology replied in a thread on GitHub to oidebrett :
solved that in the code also.