afsmith / cc

chinchilla
0 stars 0 forks source link

space in hrefs. #144

Open afsmith opened 10 years ago

afsmith commented 10 years ago

On staging: I am seeing the url for the tracking pixel with a space that is breaking it:

<img src=3D"https://cc-stage.kneto.com/track/email/75/5/" /> 

link_pixel__inbox

In prod I have seen the OCL have a space too. It does not look to be breaking it though.

<a =
href=3D"https://cc.kneto.com/view/455/?token=3Dj5kE2ahCWnoFBlQRjEumJzpVp8c=
t8t">Klicka p=E5 mej</a>
hieuh25 commented 10 years ago

I'm not so sure why is it happening, there is no space in code, I need more test on this then.

afsmith commented 10 years ago

It doesn’t appear to be breaking in production but it’s weird. I didn’t see spaces in the code.

On Apr 4, 2014, at 2:24 PM, Hieu Nguyen notifications@github.com wrote:

I'm not so sure why is it happening, there is no space in code, I need more test on this then.

— Reply to this email directly or view it on GitHub.

hieuh25 commented 10 years ago

There is no space in my localhost test btw:

sagsg<br><br><br><br><a href="http://localhost:8000/view/8/?token=xGavD7kUOHY7ER1I28w2Jr864XdezQ">asgas</a><br><br><div id="signature"><div>---------  -----------------</div>This is my signature</div>

<img src="http://localhost:8000/track/email/8/1/" />

How do you know that the space is there?

hieuh25 commented 10 years ago

I only saw the blue square box after sending a message from staging. But it still works and there is no space in image source.

TEstt<br><br><br><br><a href="https://cc-stage.kneto.com/view/77/?token=zm8TPgLm6TelZLAUSIbbzd6sX1S4sa">asgasg</a><br><br><div id="signature"></div>

<img src="https://cc-stage.kneto.com/track/email/77/8/" />
afsmith commented 10 years ago

in my mac mail, when sent from staging, i see the broken image icon, then if I view raw source i see the space: img src=3D"htt

On Apr 4, 2014, at 2:44 PM, Hieu Nguyen notifications@github.com wrote:

I only saw the blue square box after sending a message from staging. But it still works and there is no space in image source.

TEstt



asgasg

— Reply to this email directly or view it on GitHub.

hieuh25 commented 10 years ago

From production, everything seems fine:

<br><br><br><br><a href="https://cc.kneto.com/view/457/?token=hwiL90lhq7geAZrQoTuLqnvIld5Dml">Space</a><br><br><div id="signature"></div>

<img src="https://cc.kneto.com/track/email/457/1624/" />

Btw I view the source of email by View > Message > Raw source.

The only problem I can see here is with staging. Could you send me 1 message from your staging account to hieu@iki.fi? My guess is there is no space, but most likely with self-signed SSL on staging.

hieuh25 commented 10 years ago

Now I'm pretty sure the blue square box for image in the end of the email is because of the self-signed SSL on staging. The problem with your message is indeed weird, I will just keep this open for some months to see if anyone report any similar case.