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,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
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
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
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (Havenofsobriety), 176 guests, and 163 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)