Hello, I am trying to get data from a form post in a parsed format. Currently I have a listener for OnStateChange where I end up with a nsIInputStream. That has the data I want but in a flat format. I'm looking for a way to take that data and parse it with the Mozilla API or to get the data from another source in a parsed format.
My ultimate goal is to get the key=val pairs from that form submit. If I can't identify a way to do this then I'll fallback to parsing it myself. I'm just not excited to do this in C++ in a reliable way. The one prereq I have is that I must cancel the form submit because my component is intercepting it. For those curios/concerned I'm doing Single Sign-On work. Thanks, Austin _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
