Re:Twitter 'onmouseover' security flaw widely exploited
by Tichy on Tuesday September 21, 2010 @11:26AM
(#1712919)
I don't understand what they are doing? I don't recall @ having special significance in a URL?
I can only guess that they have two separate steps for transforming URLs into links and transforming @replies into links. Then they first run the URL transformer and then the @replies transformer, which would of course mess up the URL.
I have solved that problem in one of my Twitter apps (transforming both in one go), maybe I should send them a code snippet...
Re:Twitter 'onmouseover' security flaw widely exploited
by js2 on Tuesday September 21, 2010 @04:23PM
(#1713986)
They are trying to match URLs so that they can turn them into links. The @ character is valid in a URL. What I don't understand is why they don't URL encode the matching text.
I can only guess that they have two separate steps for transforming URLs into links and transforming @replies into links. Then they first run the URL transformer and then the @replies transformer, which would of course mess up the URL.
I have solved that problem in one of my Twitter apps (transforming both in one go), maybe I should send them a code snippet...