sbbs.el

View Ticket
Login
Ticket Hash: 50ce6816555ba1e2b3b328e2ca5326d62e1b20ec
Title: VIP/sage doesn't work as intended
Status: Fixed Type: Code_Defect
Severity: Minor Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2023-09-09 09:33:55
Version Found In: d00835b8b8
User Comments:
ben added on 2023-09-09 09:01:59: (text/x-markdown)
There are some counter-intuitive discrepancies between HTTP and the final Sexp:

> If a checkbox is unchecked when its form is submitted, neither the name nor the value is submitted to the server

see [this MDN page](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox)

* When it's checked, a query parameter `vip=on` is added to the query string and the dotted pair `(vip . #f)` should be added to the sexp serialization of the post
* when it's unchecked, the query parameter `vip` is absent from the query string and the dotted pair `(vip . #t)` should be added to the sexp serialization of the post

ben added on 2023-09-09 09:32:11: (text/x-markdown)
fixed in [268b82975169e4dd](https://fossil.textboard.org/sbbs/info/268b82975169e4dd)