Email Diff service sends html emails as text (on error) (BB-737)

Leonardo Santagada avatarLeonardo Santagada created an issue

Email Diff is sending me html as if they were text, so the end result is a text email with a html file as its body, and it is unreadable. Both gmail webmail and Mail.app on leopard show the message as pure text.

Here is one of the messages:

Delivered-To: santagada#at#gmail.com
Received: by 10.239.133.14 with SMTP id 14cs290021hbt;
        Sun, 6 Sep 2009 12:59:56 -0700 (PDT)
Received: by 10.220.69.90 with SMTP id y26mr19139217vci.51.1252267194785;
        Sun, 06 Sep 2009 12:59:54 -0700 (PDT)
Return-Path: <commits-noreply#at#bitbucket.org>
Received: from bitbucket.org (ec2-75-101-141-151.compute-1.amazonaws.com [75.101.141.151])
        by mx.google.com with ESMTP id 2si3981592vws.19.2009.09.06.12.59.53;
        Sun, 06 Sep 2009 12:59:54 -0700 (PDT)
Received-SPF: pass (google.com: domain of commits-noreply#at#bitbucket.org designates 75.101.141.151 as permitted sender) client-ip=75.101.141.151;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of commits-noreply#at#bitbucket.org designates 75.101.141.151 as permitted sender) smtp.mail=commits-noreply#at#bitbucket.org
Received: from domU-12-31-39-00-95-01.compute-1.internal (localhost.localdomain [127.0.0.1])
	by bitbucket.org (Postfix) with ESMTP id C1A0D7110A
	for <santagada#at#gmail.com>; Sun,  6 Sep 2009 19:59:53 +0000 (UTC)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: commits-noreply#at#bitbucket.org
To: santagada#at#gmail.com, kcfelix#at#gmail.com, daniel.e.beck#at#gmail.com,
	felixcr#at#gmail.com
Subject: pyweek9 commit 0235415c9911: Added new sprites. Added random
	behaviour for birds.
Message-Id: <20090906195953.C1A0D7110A#at#bitbucket.org>
Date: Sun,  6 Sep 2009 19:59:53 +0000 (UTC)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<title>
	Error &mdash; bitbucket.org
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="description" content="Mercurial hosting - we're here to serve." />
	<meta name="keywords" content="mercurial,hg,hosting,bitbucket," />
	<link rel="stylesheet" type="text/css" href="http://bitbucket.org/m/css/layout.css?12985842" />
	<link rel="stylesheet" type="text/css" href="http://bitbucket.org/m/css/print.css?12985842" media="print" />
	<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Bitbucket" />
	<link rel="icon" href="http://bitbucket.org/m/img/logo_new.png" type="image/png"/>
	<script type="text/javascript" src="http://bitbucket.org/m/js/lib/bundle.310309Mar.js?2152100"></script>
	
	<script type="text/javascript">
		$(document).ready(function() {
			Dropdown.init();
		});
	</script>
	<noscript>
		<style type="text/css">
			.dropdown-container-text .dropdown {
				position: static !important;
			}
		</style>
	</noscript>

	<!--[if lt IE 7]>
	<style type="text/css">
	body {
		behavior: url(http://bitbucket.org/m/css/csshover.htc);
	}
	
	#issues-issue pre {
		white-space: normal !important;
	}
	
	.changeset-description {
		white-space: normal !important;
	}
	</style>
	<script type="text/javascript"> 
		$(document).ready(function(){ 
			$('#header-wrapper').pngFix();
			$('#sourcelist').pngFix();
			$('.promo-signup-screenshot').pngFix();
		}); 
	</script>
	<![endif]-->
	
	
</head>
<body class="">
	<div id="main-wrapper">
		<div id="header-wrapper">
			<div id="header">
				<a href="/"><img src="http://bitbucket.org/m/img/logo_myriad.png" alt="Bitbucket" id="header-wrapper-logo" /></a>
				
					<div id="header-nav">
						<div id="header-nav-login-forms">
							<form action="/account/signin/" method="post">
								<fieldset>
									<input id="id_username_header" type="text" class="required login" name="username" value="username" maxlength="30" onfocus="if(this.value=='username'){this.value='';}; $(this).addClass('normaltext');" /> <input id="id_password_header" type="password" class="required login" name="password" value="password" maxlength="128" onfocus="if(this.value=='password'){this.value='';}; $(this).addClass('normaltext');" /> <input type="submit" name="blogin" value="&raquo;" style="display:none;" />
									<input type="hidden" name="next" value=""/>
								</fieldset>
							</form>
							<form name="fopenid" action="/account/signin/" method="post">
								<fieldset>
									<input id="id_openid_url" type="text" class="required openid" name="openid_url" maxlength="255" value="your OpenID URL" onfocus="if(this.value=='your OpenID URL'){this.value='';}; $(this).addClass('normaltext');" /> <input name="bsignin" type="submit" value="&raquo;" style="display: none;" />
									<input type="hidden" name="next" value="" />
								</fieldset>
							</form>
						</div>
						
						<ul class="right">
							<li><a href="/">Home</a></li>
							<li><a href="/plans/"><b>Plans &amp; Signup</b></a></li>
							<li><a href="/repo/all/">Repositories</a></li>
							<li><a href="/news/">News</a></li>
							<li><a href="/help/">Help</a></li>
							<li><a href="/account/signin/">Login</a></li>
						</ul>
					</div>
				
			</div>
		</div>
		<div id="content-wrapper">
			
			
			

			
			
			
			
			

	<div class="container">
		<h2>Error</h2>
		
		

	You do not have access to this repository.


	</div>


			<div class="cb"></div>
		</div>
		<div class="cb footer-placeholder"></div>
	</div>
	<div id="footer-wrapper">
		<div id="footer">
			<a href="/site/terms/">Terms of Service</a> | <a href="/site/privacy/">Privacy Policy</a> | <a href="http://blog.bitbucket.org/">Blog</a> | <a href="http://bitbucket.org/jespern/bitbucket/issues/new/">Report Bug</a> | <a href="http://groups.google.com/group/bitbucket-users">Discuss</a> | <a href="http://avantlumiere.com/">&copy; 2008-2009</a>
			| We run <small><b>
				<a href="http://www.djangoproject.com/">Django </a> / 
				<a href="http://bitbucket.org/jespern/django-piston/">Piston </a> / 
				<a href="http://www.selenic.com/mercurial/">Hg </a> / 
				<a href="http://www.python.org">Python </a> /
				r
			</b></small>
		</div>
	</div>
	<script type="text/javascript">
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	</script>
	<script type="text/javascript">
	var pt = _gat._getTracker("UA-2456069-3");
	pt._trackPageview();
	</script>
</body>
</html>

Comments (5)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.