diff --git a/feeds/ucentral/ucentral-schema/Makefile b/feeds/ucentral/ucentral-schema/Makefile index c2f9893a8..fa48c23e8 100644 --- a/feeds/ucentral/ucentral-schema/Makefile +++ b/feeds/ucentral/ucentral-schema/Makefile @@ -4,10 +4,10 @@ PKG_NAME:=ucentral-schema PKG_RELEASE:=1 PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-schema.git -PKG_MIRROR_HASH:=31d5b340fb6d9a5c3dcb2fe3059007b45e949a37053f58defe9784915b8720b5 +PKG_MIRROR_HASH:=0d3db461560e89f0af31f0dabc3e047a3e0a87c032fd0cb0d031f560890f6358 PKG_SOURCE_PROTO:=git PKG_SOURCE_DATE:=2022-05-29 -PKG_SOURCE_VERSION:=b4b8e19cb3d19270418a96b5aee4c879c3a20776 +PKG_SOURCE_VERSION:=328240bec69a91ca509c55b139f27cf37a0bd290 PKG_MAINTAINER:=John Crispin PKG_LICENSE:=BSD-3-Clause diff --git a/feeds/ucentral/uspot/files/usr/share/uspot/common.uc b/feeds/ucentral/uspot/files/usr/share/uspot/common.uc index ecdbd3b4b..283e7d69b 100644 --- a/feeds/ucentral/uspot/files/usr/share/uspot/common.uc +++ b/feeds/ucentral/uspot/files/usr/share/uspot/common.uc @@ -166,6 +166,8 @@ return { '&called=' + this.config.uam.nasmac + '&nasid=' + this.config.uam.nasid + '&ssid=' + ctx.ssid; + if (ctx.query_string?.redir) + uam_url += '&userurl=' + ctx.query_string.redir; if (this.config.uam.uam_secret) uam_url += '&md=' + this.uam.md5(ctx.redir_location, this.config.uam.uam_secret); return uam_url;