|
| A R C H I V E D M E S S A G E |
|
Subject: HTML characters in data file |
| Posted: 11/17/2003 at 3:09:59 pm |
| By: dbr1066 |
| Hi, This looks to be a great script in my limited testing. I noticed one thing, though. My form asks for a URL (e.g. <input name="URL" type="text" id="URL" size="25"> )
When I check the data file, the URL data is written as
http%3A%2F%2Fwww.mysite.com%mydirectory%2Fmypage.php
I hope this displays correctly in this forum - all the colon slash slash (://) and single slash (/) characters in the URL are transformed into the html code equivilents, rather than the actual data.
Is this likely to be the result of a setting I made, or is it just the way the script handles that type of data input?
Thanks
| |
|
|
Subject: Re: HTML characters in data file |
| Posted: 11/17/2003 at 3:51:08 pm |
| By: Seth Knorr |
| Yeah, that is actualy to prevent vulnerabilities, however I am updated the file recently to cut that out and still make it work, you can re-download the update at:
http://www.bizmailform.com/update/bmf9_3.zip
This will just contain the bizmail.cgi You can reupload this after configuring and you should be all set.
Seth | |
|
|
Subject: Re: HTML characters in data file |
| Posted: 11/17/2003 at 4:21:07 pm |
| By: dbr1066 |
| Hey, thanks, that was a fast response! I appreciate it very much. | |
|
|
Subject: Re: HTML characters in data file |
| Posted: 11/17/2003 at 8:11:25 pm |
| By: dbr1066 |
| Oops, I spoke too soon. I downloaded the patch, corrected the settings and uploaded to my server. But when I ran a test, the same thing happened - all the colon slash slash (://) and single slash (/) characters in the URL are transformed into the html code equivilents, rather than the actual data.
What now?
| |
|
|
Subject: Re: HTML characters in data file |
| Posted: 11/18/2003 at 6:12:38 am |
| By: Seth Knorr |
| Try re-dowloading the update file, should work then. I missed something when I updated it.
Seth | |
|
|
Subject: Re: HTML characters in data file-update is messing some fields up now.... |
| Posted: 11/18/2003 at 9:16:23 am |
| By: dbr1066 |
| setup and uploaded the updated cgi and now have output in my csv as follows:
<snippet>
,,11%3A31,blahblah%27n encod%27n,,
<end snippet>
...any clues?
-crev
| |
|
|
Subject: Re: HTML characters in data file |
| Posted: 11/18/2003 at 7:46:45 pm |
| By: Seth Knorr |
| sorry try downloading it again. I messed up and re-uploaded the wrong file, which was only partialy right.
http://www.bizmailform.com/update/bmf9_3.zip
Seth | |
|
|
Subject: Re: HTML characters in data file |
| Posted: 11/19/2003 at 8:46:34 am |
| By: dbr1066 |
| Thanks Seth, the new update works fine for me. Keep up the great work, its much appreciated! | |
|
|
Subject: Re: HTML characters in data file |
| Posted: 11/24/2003 at 9:56:48 am |
| By: dbr1066 |
| Ok, the new script as I have it works fine on everything except spaces are replaced with "+" symbols. Would the following change those +s to space?
$value2 =~ s/(\+)+/( )/g;
Thanks... | |
|
|