fixes #11863   multipart data need $ (#12707)
fixes #11863   multipart data need $ (#12707)

* fixes #11863
* improved the code; refs #12412

dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim