Joined: Jan 02, 2003 Posts: 568 Location: Vancouver Island
Posted:
Sun Dec 30, 2007 9:43 pm
I've never noticed this before... maybe it is bug? But I doubt it ,and although I've searched for a similar forum, I came up empty.
When a user tries to access a restricted page, browser title bars are displaying html tags!
It's reproducible on my other server, and in both IE and Firefox. RN 2.1+
in language/lang_english.php
define('_RESTRICTEDAREA','You are trying to access a members area. <br /><br /> <a href="modules.php?name=Joinform">Please DO JOIN,</a>');
Everything after the third single quote is outputted! Is this because this bit of text is not associated with any module? Or something to do with validation? Anyways, it's pretty darn ugly. I've tried putting things in double quotes, but nothing works yet.
At worst it should only output text, but it doesn't matter what I put between the last two single quotes in the define, even the html tags are displayed in the browser output. At best, the title bar should only display the domain maybe the string "Information", not the entire define, right?
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum