Trim, I love your service, but please sanitize your inputs!!

February 5th, 2009 § 0 comments § permalink

I was replying to a friend on Twitter using trim, and I had a <script> tag in the post.  I realized when I submitted that the tag made everything after it in my tweet dissapear. If you want to see the actual tweets, you can find them in my twitter feed here: Matt Bernier’s Twitter Feed First thougt was, “No Way!”.  Second thought was, “What Else Can I do?”. So, I tried basic HTML with this tweet: <h2>Testing whether HTML breaks tr.im</h2> B/c my <script> tag did earlier</script> <span style="color:blue;"> ScreenShot coming</script> This got me this result: Then I tried an alert: <script type="text/javascript"> alert('does this work?'); </script> That got me this result: Then lastly, I tried a little more… » Read More

Trying out Commission Junction

January 22nd, 2009 § 0 comments § permalink

I have had a Commission Junction account for years, but never really had a good place to try it out.  I have something like 2000 advertisers who accepted my sites, mostly because I had grand aspirations to create the single greatest affiliate advertising website on the internet.  Reality hit me upside the head, and I gave up those aspirations of grandeur. Plus, it was a freaking horrible idea. Anyways, I still have an account with Commission Junction (CJ), so I figured I would try to put some ads up on Failed Proposals.  The site is all about videos and stories of failed wedding proposals. So, it fits that I would want to put wedding related ads on the site. I… » Read More

Where Am I?

You are currently browsing entries tagged with html at Matt Bernier.