[rs-commit] r85 - /redwax-tool/trunk/redwax_p11kit.c

rs-commit at redwax.eu rs-commit at redwax.eu
Thu Nov 25 15:48:18 CET 2021


Author: minfrin at redwax.eu
Date: Thu Nov 25 15:48:17 2021
New Revision: 85

Log:
Objects are autocompleted into visible URLs.

Modified:
    redwax-tool/trunk/redwax_p11kit.c

Modified: redwax-tool/trunk/redwax_p11kit.c
==============================================================================
--- redwax-tool/trunk/redwax_p11kit.c	(original)
+++ redwax-tool/trunk/redwax_p11kit.c	Thu Nov 25 15:48:17 2021
@@ -2558,9 +2558,12 @@
                                 }
                                 if (!strcmp(name, "object")) {
 
-                                    redwax_p11kit_add_bytes(r, pool, val, prefix, "object=",
-                                            (const char*) template[1].pValue,
-                                                    template[1].ulValueLen, urls);
+                                    redwax_p11kit_add_url(r, pool, val, prefix,
+                                            "object=",
+                                            redwax_pstrntrim(r->pool,
+                                                    (const char*) template[1].pValue,
+                                                    template[1].ulValueLen),
+                                            urls);
 
                                 }
 



More information about the rs-commit mailing list