|
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Aaron Bartell
Sent: Thursday, December 06, 2007 10:25 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: [WEB400] QzhbCgiParse and plus (+) sign
Hi all,
Working with QzhbCgiParse today and am finding that the plus (+)
sign, used
as a placeholder for the space character, isn't being decoded (i.e. it is
still there after running QzhbCgiParse). All of the other values
are being
properly decoded (i.e. ones that begin with % sign). Note that a POST is
being done vs. a GET.
Here is the jist of my code:
cont_len = charToNbr(getEnvVar('CONTENT_LENGTH'): 0);
bufPtr = %alloc(cont_len);
cmd = '-POST' + x'00';
qzhbcgiparse(cmd: 'CGII0100': buf: cont_len: rsplen: qusec);
I have my own find/replace tool I can use to fix this problem, but I was
hoping the QzhbCgiParse would do it.
Anybody have input as to why it wouldn't be converting the plus sign to a
space?
Thanks,
Aaron Bartell
http://mowyourlawn.com
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.