Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escaped single and double quotes #5

Open
adesignl opened this issue Jan 23, 2012 · 1 comment
Open

Escaped single and double quotes #5

adesignl opened this issue Jan 23, 2012 · 1 comment

Comments

@adesignl
Copy link

I am having issues where the system is escaping the quotes and the escaped backslash is displaying on the front end of the blog page. I can edit the bbdata.php directly and then it works fine but if i don't do that it gives me a non desirable outcome.

I have attempted to locate where it does the escaping but I am unable to. Any help would be appreciated.

example:

this isn't supposed to happen. $(".element")

@breck7
Copy link
Owner

breck7 commented Jan 23, 2012

Hi there, Try turning magic quotes off:

if ( in_array( strtolower( ini_get( 'magic_quotes_gpc' ) ), array(
'1', 'on' ) ) )
{
$_POST = array_map( 'stripslashes', $_POST );
$_GET = array_map( 'stripslashes', $_GET );
$_COOKIE = array_map( 'stripslashes', $_COOKIE );
}

http://stackoverflow.com/questions/517008/how-to-turn-off-magic-quotes-on-shared-hosting

On Mon, Jan 23, 2012 at 8:54 AM, adesignl <
[email protected]

wrote:

I am having issues where the system is escaping the quotes and the escaped
backslash is displaying on the front end of the blog page. I can edit the
bbdata.php directly and then it works fine but if i don't do that it gives
me a non desirable outcome.

I have attempted to locate where it does the escaping but I am unable to.
Any help would be appreciated.

example:

this isn't supposed to happen. $(".element")


Reply to this email directly or view it on GitHub:
#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants