Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Sapozhnik on October 17, 2014, 02:23:17 AM

Title: Escape quotes inside tag html
Post by: Sapozhnik on October 17, 2014, 02:23:17 AM
Some mod to escape quotes inside html tag by slash- (\")

Real text in message:

[html]
<a href="http://google.com">google</a>
[/html]


In html code I see string:
<a href=\"http://google.com\">google</a>

In result we have wrong link от the page:
http://new-aveo.com.ua/%22http://google.com/%22

Test topic with problem link (http://new-aveo.com.ua/index.php?topic=1238.0):

How to find the problem?

I tried to disable some suspicious mods (redirect page, tapatalk, ...) .
List of mods:

1. PM to New Members 1.2 
2. Top First Post 2.0.1 
3. Term of Topic life 1.0 
4. Auto Purge Old Topics 1.2 
5. Tapatalk SMF 2.0 Plugin 4.1.1 
6. Optimus Brave 1.8.7 
7. Alternate User Posting 1.0.1 
8. Snow and Garland 1.0
9. RedirectPage 2.6 
10. Spider Images 0.3 
11. YouTube BBCode (Modified) 2.7 
12. Mobile Detect 2.1 
13. Disable 'last edit by...' for Administrators 1.9 
14. Remove Help From Menu 1.0 
15. Cut Text 1.1.3 
16. Sitemap 2.1.2 
17. dQuoteSelection 2.5 b2 
18. Admin Toolbox 1.0 
19. Auto Purge Old Topics 1.3.1 
20. Anti-SID(PHPSESSID) canonical tag 0.6 
21. Similar Topics 0.6 
22. SMF 2.0.8 Update 1.0 
23. RSS Feed Poster 4.1 
24. SimpleAds 1.0.1 
25. Who Voted What? 2.11(upd) 
26. TopicRenamer 2.2 
27. Auto Merge Double Post 1.5 
28. Auto Email Inactive Users 1.7 
29. Generic Avatars 1.1 
30. Simple Twitter 1.2 
31. Limit Posts Per Day 1.0.1
32. Thank-o-matic Notify 1.0 
33. 6 Custom buttons / tabs with Sub Menus (4) 0.5 
34. InLine Attachments 1.2.1 
35. Thank-o-matic 3.0 
36. SimplePortal 2.3.5 
37. Profile Moderator Management 2.0 
38. Nickname to Reply 0.6.4 
39. SimpleAds RUS 1.0 
40. Image Quote Removal Package 1.1.1 
41. Microdata 4 SMF 1.0 beta2 
42. Resize Attached Images 2.4.1 
43. Quick Search Alternative 0.7 Alt 
44. Topic Starter Moderator 1.1 
45. Scrolling Buttons 0.3 
46. Yandex.Speller for SMF 0.6 
47. YandexGarland 1.1
48. WYSIWYG Quick Reply 2.3 
Title: Re: Escape quotes inside tag html
Post by: Kindred on October 17, 2014, 06:23:51 AM
well, it would appear to be an issue solely on your site - not in SMF....

google



[html]
<a href="http://google.com">google</a>
[/html]


works completely correctly here...

my bet is that it is related to Yandex... since that is the only mod that I see which directly affects posts...
However...  WHY?
you do not need to put http://google.com into HTML tags...   you have the perfectly good URL tag


google (http://google.com)


[url=http://google.com]google[/url]
Title: Re: Escape quotes inside tag html
Post by: kat on October 17, 2014, 06:33:38 AM
Cut Text? Can't find that mod... :( What does that do? Could that be the problem?

Could you have put something in the word-censor, perhaps?
Title: Re: Escape quotes inside tag html
Post by: Sapozhnik on October 17, 2014, 06:42:56 AM
Quote from: Kindred on October 17, 2014, 06:23:51 AM
my bet is that it is related to Yandex... since that is the only mod that I see which directly affects posts...
However...  WHY?
No, I have deleted it.
Quote from: Kindred on October 17, 2014, 06:23:51 AM
you do not need to put http://google.com into HTML tags...   you have the perfectly good URL tag
I know, but, for exampe mod "RSS Feed Poster" publicated topics in html
I have some forums, but there is problems only in one
Title: Re: Escape quotes inside tag html
Post by: Sapozhnik on October 17, 2014, 06:44:15 AM
Quote from: K@ on October 17, 2014, 06:33:38 AM
Cut Text? Can't find that mod... :( What does that do? Could that be the problem?
This is spoiler. I have deleted it.

Quote from: K@ on October 17, 2014, 06:33:38 AM
Could you have put something in the word-censor, perhaps?
I checked. Nothing.
Title: Re: Escape quotes inside tag html
Post by: Sapozhnik on October 17, 2014, 07:16:12 AM
Resolved
This is Mod "In Line Attachments"
Title: Re: Escape quotes inside tag html
Post by: kat on October 17, 2014, 07:18:01 AM
Odd. I was beginning to suspect the MicroData mod. Seems it was removed from the mod site for some very good reasons.
Title: Re: Escape quotes inside tag html
Post by: Kindred on October 17, 2014, 08:25:57 AM
do note...   I hope you were mis-speaking...   because deleting a mod does not actually remove it. You have to uninstall