Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
in the language editor, every time changes are saved any escaped characters have a backslash added. for example:

Code
Hello, 

A new user has registered at {$config['COMMUNITY_TITLE']}. Here are the details of the user's profile:\\\\\\\\n\\\\\\\\n

Email Address: %s \\\\\\\\n
Display Name: %s \\\\\\\\n
IP Address: %s \\\\\\\\n\\\\\\\\n

To view the entire profile or approve this account, please visit

Last edited by Rick; 10/23/2006 3:08 PM.

Okusi Associates -- Indonesian business and management services
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
lol, very interesting... Lately I noticed the same thing on one of my scripts i made years ago; just found it semi ironic wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
and in fact the escaped chars aren't even necessary in this context: i replaced them all with ordinary carriage returns, and thereby fix the problem. there's probably more though, lurking somewhere in the bowels of the program.


Okusi Associates -- Indonesian business and management services
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
This is related to PHP's horribly awful various magicquotes settings that can be on or off. We catch most of them because we grab 90% of the variables through our own get_input function, but sometimes we reference $_GET or $_POST directly where these tend to pop up. I'll make sure we stripslashes where necessary for 7.0.1. Thanks for the report.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (ahmed047, Nightcrawler), 615 guests, and 132 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)