Suggestions & Feedback
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsForum InformationSuggestions & Feedback

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 22nd, 2007, 02:50 AM
elijathegold's Avatar
elijathegold elijathegold is offline
Senior Fire Wizard
ASP Free God 1st Plane (5500 - 5999 posts)
 
Join Date: Feb 2005
Location: Ashford, Kent. England
Posts: 5,651 elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 1565030 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1565030 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1565030 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1565030 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1565030 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1565030 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1565030 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1565030 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1565030 Folding Title: Super Ultimate Folder - Level 4
Time spent in forums: 2 Months 2 Weeks 2 Days 3 h 57 m 51 sec
Reputation Power: 301
HTML Entities in code type tags

This probably isn't an urgent thing, but it would be a nice to have.

When posting code samples in code tags can html entities not be
translated, for example & quot ; shows as & quot ; rather than "
__________________
And he picked it all up... in his pick-up.





Friends of Shemzilla

Reply With Quote
  #2  
Old August 10th, 2007, 09:12 AM
thaminda's Avatar
thaminda thaminda is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 156 thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 1 h 58 m 36 sec
Reputation Power: 33
We try several methods to bypass html entities, but by doing that it will open several security issues.

vBulletin decode all the html entities to determine if some one trying to pass special JavaScript to steal users cookies information ...etc.

So its automatically decode all the html entities and filter them out, if we remove this functionality, our forums will be very vulnerable for these kind of hacker attacks.

Therefore currently we do not see any direct way to keep html entities inside user posts.

Reply With Quote
  #3  
Old August 10th, 2007, 09:23 AM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Mar 2005
Location: I used to live at home, now I stay at the house
Posts: 3,350 ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 1 Month 1 Week 3 Days 4 h 54 m 42 sec
Reputation Power: 290
Facebook
If you were to replace all ampersands [&] with "&", you should
be able to write "&quote;".

<edit>
Code:
"

Code:
&quot;


Hold on, that's come out fine. What's the problem here?
__________________
Support requests via PM will be ignored!
Route of Queue | The General FAQ Thread | HOW TO POST A QUESTION

Sign up with Matched.co.uk and earn up to £15 per website every month!


Last edited by ChiefWigs1982 : August 10th, 2007 at 11:20 AM.

Reply With Quote
  #4  
Old August 10th, 2007, 10:37 AM
thaminda's Avatar
thaminda thaminda is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 156 thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level)thaminda User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 1 h 58 m 36 sec
Reputation Power: 33
Try this
Code:
"


& q u o t e ; => & q u o t ;

Reply With Quote
  #5  
Old August 10th, 2007, 11:21 AM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Mar 2005
Location: I used to live at home, now I stay at the house
Posts: 3,350 ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 1 Month 1 Week 3 Days 4 h 54 m 42 sec
Reputation Power: 290
Facebook
Gotcha.

My idea does work though - change ampersands into numeric
entities; notice my second code box above.

& becomes &#38;

Reply With Quote
Reply

Viewing: ASP Free ForumsForum InformationSuggestions & Feedback > HTML Entities in code type tags


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway