Previous Thread
Next Thread
Print Thread
Hop To
[FIXED for 7.0.1] language editor, escaped chars #166808 10/22/2006 12:13 AM
Joined: Jun 2006
Posts: 136
Okusi Offline OP
member
OP Offline
member
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
Re: language editor, escaped chars [Re: Okusi] #166860 10/22/2006 3:52 PM
Joined: Jun 2006
Posts: 15,843
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,843
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.
Need to Upgrade?
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!
Re: language editor, escaped chars [Re: Gizmo] #166888 10/22/2006 6:01 PM
Joined: Jun 2006
Posts: 136
Okusi Offline OP
member
OP Offline
member
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
Re: language editor, escaped chars [Re: Okusi] #166905 10/22/2006 9:09 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
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.


Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Who's On Line Issue
by Larry Miller - 09/21/2019 9:37 PM
ubb.threads 7.7.3 install error on create tables
by andrewjs18 - 09/17/2019 3:39 AM
Horizontal Image Attachment
by ECNet - 09/11/2019 12:17 PM
user profile, after I click Update nothing happens
by PianoWorld - 09/10/2019 12:38 PM
Who's Online Now
2 registered members (isaac, Gizmo), 58 guests, and 416 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.3