[OpenWrt-Devel] [PATCH] uhttpd2: Set HTTPS environment variable
Felix Fietkau
nbd at openwrt.org
Fri Dec 12 12:06:53 EST 2014
On 2014-12-11 23:36, Dan Staples wrote:
> Currently, the only way for cgi scripts to determine if the request
> was made over SSL seems to be to check if the SERVER_PORT environment
> variable is set to 443, which is less than ideal. This sets the HTTPS
> environment variable, like the first version of uhttpd.
>
> Signed-off-by: Dan Staples <danstaples at opentechinstitute.org>
The patch has been whitespace mangled. Please fix and resend.
Thanks,
- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list