moodleou / moodle-mod_oublog

Alternative blog module for Moodle 2 (including course blogs)
31 stars 29 forks source link

Students can put more text in title than database allows #106

Open mhughes2k opened 4 years ago

mhughes2k commented 4 years ago

We have had a student put a 410 character string in to the title, and it results in an error: Error writing to database Debug: Data too long for column 'title' at row 1

Install.xml defines the title as being 255 characters long however the postform does not appear to have any validation on the length of the text, (although it does output a size="48" attribute on the input element).