Answer the question
In order to leave comments, you need to log in
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/>
далее просто текст письма, далее просто текст, ................
<a href="http://www.mysite.ru/gallery">www.mysite.ru/gallery</a>
Answer the question
In order to leave comments, you need to log in
In my experience, I have never seen such a bug. Interesting. If you find a solution, please let me know.
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/
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.
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 questionAsk a Question
731 491 924 answers to any question