[gupnp/gupnp-1.4] Context: Add note regarding host_path and ACL
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/gupnp-1.4] Context: Add note regarding host_path and ACL
- Date: Sat, 8 Jan 2022 09:59:26 +0000 (UTC)
commit ea9db480d139a2149d74bfe69a13de76ab150f5b
Author: Jens Georg <mail jensge org>
Date: Sat Jan 8 10:53:03 2022 +0100
Context: Add note regarding host_path and ACL
Make clear that ACL is not applied to any files hosted like this
libgupnp/gupnp-context.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/libgupnp/gupnp-context.c b/libgupnp/gupnp-context.c
index 8c015a1..10deb28 100644
--- a/libgupnp/gupnp-context.c
+++ b/libgupnp/gupnp-context.c
@@ -1244,6 +1244,9 @@ host_path_data_free (HostPathData *path_data)
* Start hosting @local_path at @server_path. Files with the path
* @local_path.LOCALE (if they exist) will be served up when LOCALE is
* specified in the request's Accept-Language header.
+ *
+ * @note: Paths added to the HTTP server using gupnp_context_host_path()
+ * are not subject to handling by #GUPnPAcl.
**/
void
gupnp_context_host_path (GUPnPContext *context,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]