luci-base: dispatcher: fix rpc controller regression
authorJo-Philipp Wich <jo@mein.io>
Tue, 7 Jan 2020 08:08:49 +0000 (09:08 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commit0f83d819b867ea080df86d35c6718e4bbe7ee011
treeffd28a4768523ef6ff854dd2d69ddaac5013738c
parent400e3ac4ec2167c083ea8ea1b31efddd8128000f
luci-base: dispatcher: fix rpc controller regression

When testing the luci-rpc authnetication, avoid clobbering the HTTP
post request body.

Fixes: #3470
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 38c9c9e0a2564b9644a56f1143f6acf0c9e272c8)
modules/luci-base/luasrc/dispatcher.lua