vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   What causes '&amp' instead of '&' in replies and polls? (https://vborg.vbsupport.ru/showthread.php?t=48906)

TalkHardRandy 02-14-2003 05:06 PM

What causes '&amp' instead of '&' in replies and polls?
 
1 Attachment(s)
Okay this is weird...

For some reason, whenever you quote a post, certain characters (i.e. <, >, &, ' , ") get changed from their standard characters to their HTML version, yet HTML is not turned on. This happens only with quotes and polls. If I create a new thread or new reply without a quote, it doesn't do it.

I've put a screen cap to show what I mean, but can anyone tell me where this is doing this at? I thought it was in the unhtmlspecialchars function, but I set that to default and all occurances of it... still doing the same thing.

RELP!!!

Dpcows 02-14-2003 08:56 PM

i guess it is just protecting it self from bad html code.
i think you get this because html is turned off.
it sees the special chars as html and turns them into no-html.

it's not really a bug but, should eb corrected by vB

TalkHardRandy 02-15-2003 07:05 PM

So, should I turn HTML on?

007 02-15-2003 07:15 PM

that might work. I don't think there is really a way around this, but I have been wrong before.... :ermm:

Tigga 02-17-2003 05:08 PM

Um... That wouldn't be a bug with vBulletin. It would have to be a hack or something like that that's causing the error. Just try quoting a post on here and you'll see it works fine. ;)

Erwin 02-17-2003 05:41 PM

What version vB are you running? This is a known bug with older versions of vB and polls. Upgrade, and you should be fine.

TalkHardRandy 02-18-2003 04:41 PM

vb 2.2.6

I did a clean install on and the error doesn't exist there, so it is a hack I installed... but I have no idea where to even start looking for the code.

Chris M 02-18-2003 04:46 PM

It would be a hack that edits either:

showthread.php
OR
newreply.php

:)

They are the most likely two files that are affected...

Satan

TalkHardRandy 02-19-2003 03:57 PM

I replaced newreply & that fixed the problem with the replies (broke a whole bunch o' other stuff, but that's beside the point). However, the polls are still doing the same thing. I tried to replace polls.php, but that didn't fix it.

So, what files do Polls and New Replys have in common?


All times are GMT. The time now is 12:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00925 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete