Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: BUG: 15RC trips over single quotes in news body?  (Read 3437 times)

ruud

  • Newbie
  • *
  • Karma: 0
  • Posts: 9
BUG: 15RC trips over single quotes in news body?
« on: October 05, 2006, 04:00:19 PM »

When I post a message containing double quotes, it is written to the database without problems. When I post a message containing single quotes, nothing happens. Can anybody else reproduce this? if so, maybe addslashes() needs to be added somewhere?
Logged

mininovax

  • Newbie
  • *
  • Karma: 1
  • Posts: 44
    • http://www.ondapc.net
BUG: 15RC trips over single quotes in news body?
« Reply #1 on: November 29, 2006, 02:46:04 PM »

I have seen this occur on my site as well.

Solution is to perhaps to php "htmlentities" the post ?
Logged