Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Input validation (ie field lenght)

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,

I just noticed some strange behaviour. When replying on a post the subject in the templates I use is a concatenation of a reply string like "RE:" and the original subject. That itself is not very smart in my opinion, but it might be a design flaw brought in by my predecessor.

The big bummer to me is, that there doesnt seem to be a lot of input validation. If I submit a subject line that is longer than the field size in the DB I'll get an DB error. With a template as the one described above, this will happen every time a subject is entered with maxlength and sombody replies.

So if anyone could please tell me if I am missing something or if this is a bug? I cant connect to JIRA so I thought I try here.

Thanks for your replies in advance!
[originally posted on jforum.net by ganimed]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic