luci-base: modify path function to allow URI parameters
authorPaul Donald <newtwen+github@gmail.com>
Thu, 19 Dec 2024 17:43:10 +0000 (17:43 +0000)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 19 Dec 2024 17:43:10 +0000 (17:43 +0000)
commit7c2cde52dbb14d5e878ca775946db9b3f13dcf1d
treef3c1f16bac7f6ee6c970e2a9d95f297d6f3ed688
parentb4e1052331ccabbc21acdea287a94b3fb943bbb9
luci-base: modify path function to allow URI parameters

Allows usage such as:
 L.url("admin", "system", "package-manager", "?query=package")

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
modules/luci-base/htdocs/luci-static/resources/luci.js