Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 22, 2013, 05:51:42 am

Login with username, password and session length
Members
Total Members: 10766
Latest: zhangxia
Stats
Total Posts: 32380
Total Topics: 5480
Online Today: 67
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 65
Total: 67
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Invalid image tracking URL using &  (Read 1393 times)
Black Viper
Jr. Member
**
Offline Offline

Posts: 50


View Profile
« on: February 02, 2010, 02:19:16 am »

The image tracking URL is not valid XHTML and "&id" is assumed to be an entity and also it is used in XHTML (such as a div id). This is causing me many issues. May I suggest escaping all instances of '&' into '&' to be inline with XHTML standards?
This will fix W3 validation errors (both my main web site and SMF forums), could fix the template errors, and maybe more. Smiley

Code:
<img src="hxxp://example.com/index.php?action=adpro;sa=v&id=3&l=1000&m=0&t=1265098566" alt="" />

BV EDIT: removed the bolding tags in the line above.
« Last Edit: February 03, 2010, 10:00:44 am by Black Viper » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10997


View Profile
« Reply #1 on: February 02, 2010, 12:49:30 pm »

Fixed xhtml validation issue for 1.0.3
Logged
Black Viper
Jr. Member
**
Offline Offline

Posts: 50


View Profile
« Reply #2 on: February 03, 2010, 04:13:56 am »

Great, thanks!
Logged
Black Viper
Jr. Member
**
Offline Offline

Posts: 50


View Profile
« Reply #3 on: February 03, 2010, 09:53:00 am »

As a side note, this is not specific to the image tracking code, but all URL's generated within Ad Seller that has an & in it, it just comes to the front the most with the tracking code is all.
Thanks.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10997


View Profile
« Reply #4 on: February 03, 2010, 09:53:36 am »

Yeah made sure to fix all did a scan for them.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 05:36:18 am]

[Today at 03:03:31 am]

[Today at 01:01:03 am]

[May 21, 2013, 03:27:16 pm]

[May 21, 2013, 02:11:10 pm]

[May 21, 2013, 01:18:58 pm]

[May 21, 2013, 12:22:02 am]

[May 21, 2013, 12:20:41 am]

[May 19, 2013, 11:13:02 pm]

[May 19, 2013, 08:18:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.375 seconds with 22 queries.