PC Review


Reply
Thread Tools Rate Thread

BUG: Periods removed from img and a tags in msg body

 
 
=?Utf-8?B?Sm9obiBCdWVsbA==?=
Guest
Posts: n/a
 
      3rd Mar 2004
When I generate an html email to send via SmtpMail, it will (apparently) randomly remove a period in the filename for some image and anchor tags, but not all

For example, in the email body, i may have an image
<img border="0" src="http://servername/filename.gif"
But it will be received in Outlook as
<img border="0" src="http://servername/filenamegif"
NOTE THE MISSING PERIOD IN THE FILENAME

The same thing can occur for an anchor tag (link). If it references "myfile.asp", it may appear as "myfileasp", again missing the period

This does not happen to all links or images. I can't figure out what the pattern is. There has been a notion that the firewall or proxy servers are performing this as a "feature", but I don't know where to look to try validate this. Help!
 
Reply With Quote
 
 
 
 
Charlie Nilsson [MSFT]
Guest
Posts: n/a
 
      3rd Mar 2004
I've never seen this. I could be a proxy or mail server doing this, but
it's unlikely.

Have you tried URLEncode'ing the src attribute?


--
CharlieN
VSU

This posting is provided "AS IS" with no warranties, and confers no rights.

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
> Thread-Topic: Periods removed from img and a tags in msg body
> thread-index: AcQBWY/LmZaAXcSYSJiLXelqkEi+Fw==
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb
> From: "=?Utf-8?B?Sm9obiBCdWVsbA==?="

<(E-Mail Removed)_THIS_TO_SEND>
> Subject: BUG: Periods removed from img and a tags in msg body
> Date: Wed, 3 Mar 2004 11:56:05 -0800
> Lines: 11
> Message-ID: <BC6251FB-6A4B-4270-97B6-(E-Mail Removed)>
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="Utf-8"
> Content-Transfer-Encoding: 7bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.dotnet.languages.vb
> Path: cpmsftngxa06.phx.gbl
> Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:186288
> NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb
>
> When I generate an html email to send via SmtpMail, it will (apparently)

randomly remove a period in the filename for some image and anchor tags,
but not all!

For example, in the email body, i may have an image:
<img border="0" src="http://servername/filename.gif">
But it will be received in Outlook as:
<img border="0" src="http://servername/filenamegif">
NOTE THE MISSING PERIOD IN THE FILENAME!

The same thing can occur for an anchor tag (link). If it references
"myfile.asp", it may appear as "myfileasp", again missing the period.

This does not happen to all links or images. I can't figure out what the
pattern is. There has been a notion that the firewall or proxy servers are
performing this as a "feature", but I don't know where to look to try
validate this. Help!
>


 
Reply With Quote
 
=?Utf-8?B?Sm9obiBCdWVsbA==?=
Guest
Posts: n/a
 
      5th Mar 2004
I have now tried URLEncode, but it seems that Outlook can't interpret the encoding (%2E for periods) and won't properly locate and display the image.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
<Div> tags need to be removed R23 Microsoft Access 1 19th Mar 2008 05:35 PM
Smart Tags - Removed - How can I get them back???? =?Utf-8?B?VVNNQ1NHVA==?= Microsoft Excel Worksheet Functions 0 21st Jun 2007 09:42 PM
Body tags Fred Microsoft Frontpage 10 2nd Aug 2005 12:38 PM
No <body> tags in HTML Steve H Microsoft Frontpage 2 14th Jan 2005 05:09 PM
BUG: Periods / Fullstops removed from MailMessage attachments Simon Knox Microsoft C# .NET 3 28th Jan 2004 04:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:13 AM.