Why is this not valid?
>From my point of view this is the default special char encoding.

The browser is able to encode " to " is's the same like ü and
ß or the german umlaute ä, ü and ö

Have a look at the ascii table

http://www.torsten-horn.de/techdocs/ascii.htm

Remeber that I added the backslash (\) before \$#34; to prevent the
browser/mailclient to encode this to "

One last thing. When this is not valid. Why the browser is able to
display it correct?

Ronny


2013/5/28 sebb <[email protected]>:
> On 28 May 2013 20:07, Ronny Roscher <[email protected]> wrote:
>> This is just because the (this) browser translate \&#34; to " when not
>> escaped with \
>>
>> So the two sources differs but the mail translated/encoded them :)
>>
>> The original looks as follows
>>
>> works: src="rui/images/icons/16x16/refresh.png"
>>
>> fails: src=\&#34;rui/images/icons/cti/record.png\&#34;
>
> That's not valid HTML.
>
>>
>> \ in front of \&#34; added by me to prevent encoding to "
>>
>> Hope it's clearer now.
>>
>> Regards
>>
>> Ronny
>>
>>
>> Am 28.05.2013 20:44 schrieb "sebb" <[email protected]>:
>>
>>> On 24 May 2013 12:10, Ronny Roscher <[email protected]> wrote:
>>> > Hi
>>> >
>>> > I have a HTTP Sampler calling http://1.2.3.4/test.html and checked the
>>> box
>>> > for downloading all embedded objects.
>>> >
>>> > Some of them work but some of them fails due to strange/wrong character
>>> > encoding in the response
>>> >
>>> > works: src="rui/images/icons/16x16/refresh.png"
>>> > fails: src="rui/images/icons/cti/record.png"
>>>
>>> I don't see how the second one differs from the first.
>>>
>>> > java.net.URISyntaxException: Illegal character in path at index 21:
>>> > http://1.2.3.4/"rui/images/icons/cti/record.png";
>>> >
>>> > is there a way to escape/replace " in the response?
>>>
>>> Seems to me that the HTML response is broken.
>>> Can you provide the actual source for the two image references?
>>>
>>> [You don't have to provide the whole page, just enough context to show
>>> the embedded references]
>>>
>>> > Thanks in advance
>>> >
>>> > Ronny
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to