Stand-only entry form doesn’t check the title field for invalid characters?
Posted: 26 January 2006 08:01 AM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  119
Joined  05-21-2004

Hi:
I wish to use the SAEF to allow members to submit entries, though I noticed that the title field isn’t validated, meaning the user can enter arbitrary HTML tags and they seem to get submtted. Setting the weblog in question to only allow safe HTML or non at all doesn’t help. Is there a way to validate the title field like the rest of the fields?

Thanks,

 Signature 

CSS Drive- CSS gallery and examples.
CSS codes and Examples

Profile
 
 
Posted: 26 January 2006 01:35 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

The title is handled in a slightly different way.  If you just want to strip the title in the saef I figured the quickest/easiest way was via an extension- can download a quick example here- just open it up, stick it in extensions, and enable- should strip all formating from the title tag- assuming that’s what you want.  It’s very, very simple, so should be easy to mod to fit your needs.  Seemed to work fine in a very quick test.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 27 January 2006 05:27 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  119
Joined  05-21-2004

Hi Rob:
Thanks, that seemed to have done the trick! Perhaps this plugin should be added to EE by default? I can see the stand only entry form being abused if it’s public and doesn’t parse the title field for tags.

 Signature 

CSS Drive- CSS gallery and examples.
CSS codes and Examples

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65075 Total Logged-in Users: 22
Total Topics: 82207 Total Anonymous Users: 18
Total Replies: 441819 Total Guests: 165
Total Posts: 524026    
Members ( View Memberlist )
Newest Members:  TomsBmackskithbtggAdminempoleongwishPasha MahardikarmarkdurandomcatClutch Bearings