<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci, branch openwrt-19.07</title>
<subtitle>LuCI - OpenWrt Configuration Interface</subtitle>
<id>http://x-nagi.com/cgit/luci/atom?h=openwrt-19.07</id>
<link rel='self' href='http://x-nagi.com/cgit/luci/atom?h=openwrt-19.07'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/'/>
<updated>2022-09-21T12:50:02Z</updated>
<entry>
<title>luci-mod-system: sshkeys.js: prevent XSS through pubkey comments</title>
<updated>2022-09-21T12:50:02Z</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2022-09-21T12:47:41Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/commit/?id=f25285a6c26e8776f153994704710cb8e51fad91'/>
<id>urn:sha1:f25285a6c26e8776f153994704710cb8e51fad91</id>
<content type='text'>
Ensure to not display public key comments verbatim in order to prevent
injection of markup.

Reported-by: Eric McDonald &lt;ericmcdonald@protonmail.com&gt;
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit 944b55738e7f9685865d5298248b7fbd7380749e)
</content>
</entry>
<entry>
<title>luci-app-statistics: stat-genconfig: don't emit bools for absent uci options</title>
<updated>2022-04-25T19:00:48Z</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2022-04-25T18:55:02Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/commit/?id=712bc8e52d73720dc42577c08eb80ce7b1548b1e'/>
<id>urn:sha1:712bc8e52d73720dc42577c08eb80ce7b1548b1e</id>
<content type='text'>
Do not emit native collectd.conf boolean false options if the corresponding
uci option is unset in order to honour collectd's implicit defaults.

This fixes certain options, such as the memory plugins `ValuesAbsolute`,
being without effect if declared as default-enabled in the related plugin
uci forms.

Fixes: #5777
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit f16037cec5e3f65cffe2f5788c264f1912435b0e)
</content>
</entry>
<entry>
<title>treewide: Backport translations and sync</title>
<updated>2022-04-09T16:22:08Z</updated>
<author>
<name>Hannu Nyman</name>
<email>hannu.nyman@iki.fi</email>
</author>
<published>2022-04-09T16:22:08Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/commit/?id=786ebc9c014efed4df0d67b140b2348a58d99f5b'/>
<id>urn:sha1:786ebc9c014efed4df0d67b140b2348a58d99f5b</id>
<content type='text'>
Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>timezone data: update to 2022a</title>
<updated>2022-03-24T19:12:49Z</updated>
<author>
<name>Hannu Nyman</name>
<email>hannu.nyman@iki.fi</email>
</author>
<published>2022-03-24T19:09:41Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/commit/?id=701a8d6acea001357241f6d362246123c29a14cd'/>
<id>urn:sha1:701a8d6acea001357241f6d362246123c29a14cd</id>
<content type='text'>
Update timezone data to 2022a.

http://mm.icann.org/pipermail/tz-announce/2022-March/000070.html
* Palestine will spring forward on 2022-03-27, not 2022-03-26.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
(cherry picked from commit 15bbe6979bade530171420721ee8d99b3a1eacd9)
</content>
</entry>
<entry>
<title>treewide: Backport translations from master - i18n</title>
<updated>2022-03-13T16:29:52Z</updated>
<author>
<name>Hannu Nyman</name>
<email>hannu.nyman@iki.fi</email>
</author>
<published>2022-03-13T16:29:52Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/commit/?id=ab2c5eb8fe4b2ad73446c71a18cc0e88184c8a7a'/>
<id>urn:sha1:ab2c5eb8fe4b2ad73446c71a18cc0e88184c8a7a</id>
<content type='text'>
Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>luci-base: properly handle promise targets in Request.request()</title>
<updated>2022-02-21T14:09:48Z</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2022-02-21T13:59:16Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/commit/?id=1b6c126293edc9abc3b23b195a1dbe2cedf1756e'/>
<id>urn:sha1:1b6c126293edc9abc3b23b195a1dbe2cedf1756e</id>
<content type='text'>
Under some circumstances, ubus RPC requests may be initiated while LuCI is
still resolving the `rpcBaseURL` value. In this situation, the `target`
argument of the `request()` call will be a pending promise object which
results in an invalid URL when serialized by `expandURL()`, leading to an
`Failed to execute 'open' on 'XMLHttpRequest': Invalid URL` exception.

This commonly occured on the index status page which immediately initiates
ubus RPC calls on load to discover existing status page partials.

Solve the issue by filtering the given `target` argument through
`Promise.resolve()` before expanding the URL and initiating the actual
request.

Fixes: #3747
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(backported from commit 5663fd596b567d53587fcc4052df3095520c08a7)
</content>
</entry>
<entry>
<title>treewide: Backport translations from master</title>
<updated>2022-02-14T20:32:05Z</updated>
<author>
<name>Hannu Nyman</name>
<email>hannu.nyman@iki.fi</email>
</author>
<published>2022-02-14T20:32:05Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/commit/?id=36e5c1c24baace19ce5acda58bdd3ffddd5a7169'/>
<id>urn:sha1:36e5c1c24baace19ce5acda58bdd3ffddd5a7169</id>
<content type='text'>
Backport translations.
Sync.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>luci-app-openvpn: fix stray uci permission warning</title>
<updated>2022-01-25T21:45:15Z</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2022-01-25T21:39:48Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/commit/?id=f3debdcfd9a27202106032d988242c132f4c5f57'/>
<id>urn:sha1:f3debdcfd9a27202106032d988242c132f4c5f57</id>
<content type='text'>
The OpenVPN file view uses a dummy Map() instance to render the breadcrumb
template which triggers a uci permission error since the view is being
rendered by a form() action which does not set up the expected permission
flags. CBI Map() instances should only be used for cbi() dispatch targets.

Solve the issue by appending the breadcrumb template directly to the
SimpleForm() instance and by removing the redundant dummy Map() instance.

Fixes: #4370
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit 18b1130711b6ff7aacba98034e2bd7f4893b33df)
</content>
</entry>
<entry>
<title>treewide: Backport i18n translations from master and sync</title>
<updated>2022-01-23T10:37:35Z</updated>
<author>
<name>Hannu Nyman</name>
<email>hannu.nyman@iki.fi</email>
</author>
<published>2022-01-23T10:37:35Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/commit/?id=88b4c07b7b35f15b301f6c938b66d4617fbb3106'/>
<id>urn:sha1:88b4c07b7b35f15b301f6c938b66d4617fbb3106</id>
<content type='text'>
Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>luci-base: sys: prevent path traversal via sys.init routines</title>
<updated>2022-01-19T15:34:21Z</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2022-01-19T15:32:52Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/luci/commit/?id=cc8ba6e3010ba58fb188eacb93af43fc05f11791'/>
<id>urn:sha1:cc8ba6e3010ba58fb188eacb93af43fc05f11791</id>
<content type='text'>
Filter the init script name parameter through fs.basename() to avoid
invoking paths outside of /etc/init.d/.

Reported-by: Graham R &lt;gr348@cam.ac.uk&gt;
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit 8752701b0d01a81d0bd0a735be733f24ad11ab69)
</content>
</entry>
</feed>
