2012 34th International Conference on Software Engineering (ICSE) 2012
DOI: 10.1109/icse.2012.6227186
|View full text |Cite
|
Sign up to set email alerts
|

Automated repair of HTML generation errors in PHP applications using string constraint solving

Abstract: Abstract-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. We observe that malformed HTML is often produced by incorrect constant prints, i.e., statements that print string literals, and present two tools for automatically repairin… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
63
0

Year Published

2013
2013
2020
2020

Publication Types

Select...
6
3
1

Relationship

0
10

Authors

Journals

citations
Cited by 80 publications
(63 citation statements)
references
References 20 publications
0
63
0
Order By: Relevance
“…A number of mutated program versions are generated and tested in a trial-and-error fashion. PHPRepair [27] focuses on HTML generation errors in PHP programs. Constraints on string literals are collected from test executions and solved through string solver.…”
Section: Related Workmentioning
confidence: 99%
“…A number of mutated program versions are generated and tested in a trial-and-error fashion. PHPRepair [27] focuses on HTML generation errors in PHP programs. Constraints on string literals are collected from test executions and solved through string solver.…”
Section: Related Workmentioning
confidence: 99%
“…In most modern web browsers, the invalid HTML can be fixed quietly, however there are still some severe bugs that have a significant impact on the demonstrating effect [55]. Further study found that the HTML bugs usually come from the PHP print codes, especially the constant string printing, which is a common programming manner at server side.…”
Section: Specific Domain Tbrmentioning
confidence: 98%
“…Alternative analytical approaches also exist, including FixWizard [39], which analyzes bug xes in a piece of code and suggests comparable xes to similar parts of the code base; and FlowFixer [62], which repairs sequences of GUI interactions in modi ed test scripts for Java programs. A group of techniques exists that can detect and repair HTML syntax problems in web applications [38,45]. However, these techniques cannot nd XBIs and repair them.…”
Section: Related Workmentioning
confidence: 99%