Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 05:45 am EST

Geeklog Forums

Search Queries have triple escaped quotes


Status: offline

ByteEnable

Forum User
Full Member
Registered: 10/20/03
Posts: 138
When using the search function and clicking on a story, text has triple escaped quotes:

Text Formatted Code

\\\"The industry

 


Byte
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Nice one. Turns out this is a "feature" of using preg_replace with the /e modifier. It just wasn't noticed before since Geeklog was applying the highlighting in the wrong order and somewhere in there was a stripslashes call that silently removed those extra backslashes again. So it only showed up after fixing this bug ...

Fixed in CVS now.

bye, Dirk
 Quote

All times are EST. The time is now 05:45 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content