Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



2243 posts

Uber Geek
+1 received by user: 152

Trusted
Subscriber

Topic # 111861 17-Nov-2012 11:45 Send private message

I've noticed while browsing the forum this morning that a few people are having HTML make it into their posts

Examples here and here.  Is there a problem with the editor?

Create new topic
BDFL
47930 posts

Uber Geek
+1 received by user: 3540

Administrator
Trusted
Geekzone
Subscriber

  Reply # 718699 17-Nov-2012 11:48 Send private message

This only affected posts within a five minutes time window last night, while we switched some code behind the htmlencode/urlencode we use here. This was noted here before.






2243 posts

Uber Geek
+1 received by user: 152

Trusted
Subscriber

  Reply # 718713 17-Nov-2012 11:51 Send private message

Ah right. Sorry didn't realise that was the same root cause. Carry on then!

BDFL
47930 posts

Uber Geek
+1 received by user: 3540

Administrator
Trusted
Geekzone
Subscriber

  Reply # 718715 17-Nov-2012 11:56 Send private message

Basically I was thinking of the possibility of some malicious user injecting HTML code on the subject of a forum discussion and that not being filtered when added to your friend's timeline. Therefore when looking at the Wall that code could be executed.

I changed the encoding for all fields around and those strange posts happened while the scripts were being changed (kept the same old routine name but with new defaults and added a new routine).

That's pretty much it.




Create new topic








Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Forms of government for New Zealand
Created by charsleysa, last reply by sir1963 on 19-Apr-2014 20:52 (108 replies)
Pages... 6 7 8


MH370 - Call for Search & Rescue Help
Created by DS248, last reply by Sideface on 17-Apr-2014 17:28 (735 replies)
Pages... 47 48 49


galaxy s4 now on 4.4.2
Created by nzrock, last reply by Yabanize on 19-Apr-2014 21:59 (56 replies)
Pages... 2 3 4


why does the tax payer have to pay for the prince and princess' 6 star holiday?
Created by joker97, last reply by Geektastic on 17-Apr-2014 15:49 (67 replies)
Pages... 3 4 5


Paywave unauthorised transaction
Created by Ford, last reply by NonprayingMantis on 19-Apr-2014 22:06 (15 replies)

Whats the best wife friendly media centre?
Created by amorpeth, last reply by jonolynn on 19-Apr-2014 20:20 (14 replies)

Snap suffering Trans-Tasman congestion 18/04?
Created by Lias, last reply by NonprayingMantis on 19-Apr-2014 00:05 (26 replies)
Pages... 2


Help ! Home business connection and VDSL dead. yikes.
Created by Scotsman, last reply by Scotsman on 17-Apr-2014 21:10 (26 replies)
Pages... 2



Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.