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.



2625 posts

Uber Geek
+1 received by user: 284

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 - Memuneh
52357 posts

Uber Geek
+1 received by user: 6167

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.






2625 posts

Uber Geek
+1 received by user: 284

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 - Memuneh
52357 posts

Uber Geek
+1 received by user: 6167

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 & Pushbullet »
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 tech item prices are listed in our price comparison site:



Follow us to receive updates on your mobile device or browser via Pushbullet:



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.