Welcome to Geeklog, Anonymous Thursday, April 10 2025 @ 09:21 am EDT
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:
\\\"The industry
Byte
Text Formatted Code
\\\"The industry
Byte
10
12
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
Fixed in CVS now.
bye, Dirk
10
8
Quote
All times are EDT. The time is now 09:21 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