double quotes issue in request object

V

vivi74

Hello All,

I am having an issue with double quotes in a string, where in the
request object has the garbled string, but the form element has the
correct value. For e.g here is what i have

<INPUT TYPE="text" NAME="element_name" VALUE=""ABCD "EFG" HIJK,
LMN"" SIZE=40 MAXLENGTH=60>

the form element value --> "ABCD "EFG" HIJK, LMN" which is correct

however for some reason the request object has this value

request object --> ?ABCD ?EFG? HIJK, LMN?

is there any way i could escape this quotes, also these values are
dynamically loaded into the form.

appreciate any help

Thanks in advance
 
T

Tobias Schierge

Hi,
<INPUT TYPE="text" NAME="element_name" VALUE=""ABCD "EFG" HIJK,
LMN"" SIZE=40 MAXLENGTH=60>

you need to use the &quot; entity within the attribute.

Also i recomment using a valid html syntax of the level ((X)HTML
transitional/strict etc.) of your choice.

Regards,

Tobias
 
V

vivi74

Tobias said:
Hi,


you need to use the &quot; entity within the attribute.

Also i recomment using a valid html syntax of the level ((X)HTML
transitional/strict etc.) of your choice.

Regards,

Tobias

The issue is a user enters double quotes and it almost seems like the ?
mark is some character. I tried to user stringtokenziser with a actual
? mark and the string would not tokenize. I guess its a characterset
issue, not sure tho. Am i missing something.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top