bjoernv
133d3405d0
Fix for #141
...
* Authorization header for OC_User_BasicAuth is now set with locally stream context instead globally with stream_context_set_default function.
* HTTP Redirects in OC_User_BasicAuth are disabled now, so authorization header can not be forwared to foreign servers.
Closes #141
Signed-off-by: Björn Voigt <bjoernv@arcor.de >
2020-04-23 10:19:16 +02:00
Alejandro Liu
f3302a352c
Make sure check of headers is case insensitive.
...
Signed-off-by: Alejandro Liu <alejandro_liu@hotmail.com >
2019-06-03 08:54:57 +02:00
Alejandro Liu
f03cd092fe
Renaming the variable used for checs, adding more explanatory text
...
Signed-off-by: Alejandro Liu <alejandro_liu@hotmail.com >
2019-06-01 19:21:33 +02:00
Alejandro Liu
2548a592f1
Address issue #58
...
Signed-off-by: Alejandro Liu <alejandro_liu@hotmail.com >
2019-05-27 21:40:40 +02:00
Lutz Freitag
816ec2e3f9
basic authentication now follows redirects!
...
Signed-off-by: Lutz Freitag <lutz@gottliebtfreitag.de >
2019-03-24 19:04:46 -06:00
Lutz Freitag
9be32d66a6
added a TestCase for basic auth
...
Signed-off-by: Lutz Freitag <lutz@gottliebtfreitag.de >
2019-02-27 10:53:08 -05:00
Lutz Freitag
e1fde296c6
added an authentication handler for external HTTP basic auth
...
Signed-off-by: Lutz Freitag <lutz@gottliebtfreitag.de >
2019-02-25 09:32:36 -05:00