Badgerati / Pode.Web

Web template framework for use with the Pode PowerShell web server
MIT License
189 stars 24 forks source link

Apostrophe in form name resulting in multiple form fields with the same name. #565

Closed KeithALane closed 4 months ago

KeithALane commented 5 months ago

Describe the Bug

A form field with an apostrophe in the name seems to result in the string being terminated. In a very specific scenario this can produce multiple fields with the same name (when I wasn't expecting it).

Steps To Reproduce

Create 2 form fields... One with the name "strWApo's" The second "strWApo's plus extra stuff"

Expected Behavior

Not really sure, it is easy to work around the problem once you notice it.

Screenshots

image

Platform

Additional Context

Add any other context about the problem here.