From the session results frame when autoselling several items at once ...
If one of the early items in the list was a Notes from the Elfpocalypse that would do it ... there seems to be a general bug in all the command lines failing to deal with the comma. I've only seen it in OCD I assumed it was OCD failing to escape the comma.
The "session results frame" has nothing to do with "command lines". I asked for an example using a command line since both modes of autoselling use the same mechanism internally: an AutoSellRequest.
The "session results frame" does no item name parsing; it simply submits an AutoSellRequest with a list of selected items.
The "command line" DOES have to parse item names from user input. You characterize "failing to deal with the comma" (in an item name) as a "bug". I'm curious to hear how you think the command parser should "deal" with a comma in an item name when parsing a comma delimited list of item names. Feel free to make a Feature Request with your idea!
I tested this, with both the "compact autosale mode" and the regular mode.
I have "Compact Autosale Mode"
> inv angry farmer candy
Angry Farmer candy (8)
> inv awful poetry journal
awful poetry journal (9)
> autosell 3 angry farmer candy, 3 awful poetry journal
Autoselling items to NPCs...
You gain 819 Meat
Items sold.
> refresh inv
Refreshing closet...
Examining consumables in closet...
Examining equipment in closet...
Examining miscellaneous items in closet...
Updating inventory...
Requests complete.
> inv angry farmer candy
Angry Farmer candy (5)
> inv awful poetry journal
awful poetry journal (6)
That submitted "sellstuff.php?action=sell&type=quant&howmany=3&whichitem[]=617&whichitem[]=622" and worked fine.
Switch to non-"Compact Autosale Mode"
> autosell 3 angry farmer candy, 3 awful poetry journal
Autoselling items to NPCs...
You gain 819 Meat
Items sold.
> refresh inv
Refreshing closet...
Examining consumables in closet...
Examining equipment in closet...
Examining miscellaneous items in closet...
Updating inventory...
Requests complete.
> inv angry farmer candy
Angry Farmer candy (2)
> inv awful poetry journal
awful poetry journal (3)
That submitted "sellstuff_ugly.php?action=sell&mode=3&quantity=3&item617=617&item622=622" and worked fine.
I see no bug. Unless somebody can come up with a reproducible case - soon - I am closing this as Cannot Reproduce