htmx@2 veryfyPath issue #2546
-
Is verifyPath is going to be stabilized in v2? What's its purpose? Is there some security issues in requesting wrong paths? I'm trying to update htmx-template extension to work with htmx@2. The issue is that it assumes urls are started with a not standard prefix: If |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
verifyPath
hasn't changed. This is caused by the default value of theselfRequestsOnly
config parameter changing fromfalse
totrue
in 2.x. It isn't a bug, rather the fact that the extension works in the first place is a "bug" and would break if the config is changed even on 1.x.