pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(www/cgic) Add COMMIT_MSG for 2.08 udate
Module Name: pkgsrc-wip
Committed By: Makoto Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By: mef
Date: Sun Feb 23 13:23:53 2025 +0900
Changeset: 240ffbf10dc8b733522022d73003f6e55cfeff63
Added Files:
cgic/COMMIT_MSG
Log Message:
(www/cgic) Add COMMIT_MSG for 2.08 udate
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=240ffbf10dc8b733522022d73003f6e55cfeff63
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
cgic/COMMIT_MSG | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diffs:
diff --git a/cgic/COMMIT_MSG b/cgic/COMMIT_MSG
new file mode 100644
index 0000000000..cfbf604e36
--- /dev/null
+++ b/cgic/COMMIT_MSG
@@ -0,0 +1,44 @@
+(www/cgic) Updated 2.06 to 2.08
+
+(upstream)
+What's new in version 2.08?
+
+Beginning with version 2.08, `cgic` offers more options when setting
+cookies. To enhance security, the following options can be used when
+setting a cookie:
+
+ * Secure
+ * HttpOnly
+ * SameSite=Strict
+
+The new function cgiHeaderCookieSet allows you to set these
+options. The function cgiHeaderCookieSetString is kept for
+compatibility reasons.
+
+What's new in version 2.07?
+
+Per a suggestion by Geoff Mulligan, cgic now tolerates keys without a
+value in URL-encoded GET and POST submissions. Although the HTML5 spec
+discourages it, there are existing systems in the wild that do leave
+the `=` off entirely if the value is an empty string. Beginning with
+version 2.07, `cgic` handles this as you'd expect: you get an entry
+with the corresponding key and an empty string as the value. A simple
+unit test compilation target was also added, to test this feature and
+rule out side effects.
+
+(pkgsrc, test done, as follows, just something shown)
+
+ make package-install
+ 290 2025-02-23 11:42 pushd /tmp
+ 291 2025-02-23 11:42 mkdir cgic
+ 292 2025-02-23 11:43 cd cgic
+ 324 2025-02-23 12:02 gcc -I /usr/pkg/include -c /usr/pkg/share/examples/cgiclib/cgictest.c
+ 325 2025-02-23 12:02 gcc -L /usr/pkg/lib -lcgic cgictest.o -o test
+ 327 2025-02-23 12:02 ./test
+ 332 2025-02-23 12:04 env LD_LIBRARY_PATH=/usr/pkg/lib ./test
+
+ 334 2025-02-23 12:04 cp /usr/pkg/share/examples/cgiclib/capture.c ./
+ 337 2025-02-23 12:05 gcc -I /usr/pkg/include -c capture.c
+ 339 2025-02-23 12:05 gcc -L /usr/pkg/lib -lcgic capture.o -o capture
+ 340 2025-02-23 12:05 env LD_LIBRARY_PATH=/usr/pkg/lib ./capture
+
Home |
Main Index |
Thread Index |
Old Index