#19762: luci-app-fwknopd throw an error and not working
------------------------------+----------------------------------
Reporter: kpatrik90@… | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: luci | Version: Trunk
Keywords: luci-app-fwknopd |
------------------------------+----------------------------------
In r45845 the fwknopd luci app is not working. The /usr/sbin/gen-qr.sh
generate the xml header, and the luci throw an error:
This page contains the following errors:
error on line 145 at column 6: XML declaration allowed only at the start
of the document
Below is a rendering of the page up to the first error.
Quick fix:
Modify the /usr/lib/lua/luci/view/fwknopd-qr.htm to remove the the first
line of the gen-qr.sh output.
{{{
<% print(luci.sys.exec("sh /usr/sbin/gen-qr.sh | tail -n +2 ")) %>
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/19762>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets