K
K
Konstantin Birzhakov2011-08-30 21:04:55
Email
Konstantin Birzhakov, 2011-08-30 21:04:55

Mail.ru eats part of the link in the letter?

Hello!
Faced incomprehensible behavior of the mail.ru web interface.
A registered user of the site receives an automatic email with a link to view the newly added photo (part of the code):

*************************************<br/>
<br/>
Дата добавления: 30:08:2011 15:44:42<br/>
Название фото: <strong>XXXXXXXXXXX</strong><br/>
Чтобы посмотреть фото, перейдите по ссылке (или скопируйте текст ссылки в браузер)<br/>
<a href="http://www.mysite.ru/gallery/show_foto.php?x=8013">http://www.mysite.ru/gallery/show_foto.php?x=8013</a><br/>
<br/>
*************************************<br/>
далее просто текст письма, далее просто текст, ................

Everything is fine in Googlemail, everything is fine in Yandex-mail, and if you go through the mail.ru web interface, the link beats and becomes like this:
<a href="http://www.mysite.ru/gallery">www.mysite.ru/gallery</a>

Of course, a flurry of indignation from disgruntled users is pouring in.
This started happening about two or three days ago and is still going on.
If you go to pro.mail.ru/ and check the mail from there, everything works as it should.
Has anyone encountered such a miracle?
What could be the reason?
UPD:
Mail.ru adds target="blank" attribute:
<a target="blank" show_foto.php?x="8013" href="www.mysite.ru/gallery"> www.mysite.ru/gallery/show_foto .php?x=8013
************************************

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Arthur Koch, 2011-08-30
@dudeonthehorse

In my experience, I have never seen such a bug. Interesting. If you find a solution, please let me know.

F
Finom, 2011-08-31
@Finom

There are sites that simply do not allow you to register under a trash-holding soap :)
I see only one solution here: change the address structure, for example, www.mysite.ru/gallery/show_foto/8013/

S
Sergey Martynov, 2011-08-31
@smart

Konstantin, in your case the problem arises because the href attribute is not quoted in the letter (href=http://www.mysite.ru/gallery/show_foto.php?x=8013). If you put in quotes (href=" www.mysite.ru/gallery/show_foto.php?x=8013 "), it will work fine. This is not very good on our part, and we'll see how we can solve this problem - but in general, it's better to always quote attributes - it's more reliable.

K
Konstantin Birzhakov, 2011-08-31
@KonstRuctor

Looked at my code - and the truth is yours! I did not quote the href attribute.
Thank you so much for your help and support :-)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question