Automated Repair of HTML Generation Errors in PHP Applications Using String Constraint Solving

PHP web applications routinely generate invalid HTML. Modern browsers silently correct HTML errors, but sometimes malformed pages render inconsistently, cause browser crashes, or expose security vulnerabilities. Fixing errors in generated pages is usually straightforward, but repairing the generating PHP program can be much harder. The authors observe that malformed HTML is often produced by incorrect constant prints, i.e., statements that print string literals, and present two tools for automatically repairing such HTML generation errors. PHPQuickFix repairs simple bugs by statically analyzing individual prints.

Provided by: UCL Business PLC Topic: Data Management Date Added: Mar 2012 Format: PDF

Find By Topic