aboutsummaryrefslogtreecommitdiffstats
path: root/util/interpolation.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-06-10 12:33:58 +0200
committerKim Alvefur <zash@zash.se>2023-06-10 12:33:58 +0200
commit960f406662c436762033ce13422eb030d3a52f61 (patch)
tree8afeaec73f4f6856ca01b6407e72362fe7bf7735 /util/interpolation.lua
parentcbed7dfdf503b8d56de4ae5ed86e32bfc4e8e60e (diff)
downloadprosody-960f406662c436762033ce13422eb030d3a52f61.tar.gz
prosody-960f406662c436762033ce13422eb030d3a52f61.zip
mod_http: Fix error if 'access_control_allow_origins' is set
Because it changes the type of the 'opt_origins' variable from util.set to the internal _items table so next time an http app is added an error "attempt to call a nil value (method 'empty')" is triggered. The value is not used anywhere else. Noticed when reviewing uses of the '_items' set property. Not reported by any users, implying this setting is rarely used.
Diffstat (limited to 'util/interpolation.lua')
0 files changed, 0 insertions, 0 deletions