batchu / owasp-esapi-java

Automatically exported from code.google.com/p/owasp-esapi-java
0 stars 0 forks source link

javadoc correction for PreparedString #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. View JavaDoc for org.owasp.esapi.PreparedString

What is the expected output? 

As per OracleCodec javadoc, oracle parameters should be single quoted:

PreparedString query = new PreparedString( "SELECT * FROM users WHERE 
name='?' AND password='?'", new OracleCodec() );

What do you see instead?

PreparedString query = new PreparedString( "SELECT * FROM users WHERE 
name=? AND password=?", new OracleCodec() );

Original issue reported on code.google.com by david.sk...@gmail.com on 28 Dec 2009 at 3:02

GoogleCodeExporter commented 8 years ago

Original comment by manico.james@gmail.com on 1 Nov 2010 at 12:49

GoogleCodeExporter commented 8 years ago
Quick fix to javadoc - patch attached.

Original comment by jtmel...@gmail.com on 3 Nov 2010 at 3:51

Attachments:

GoogleCodeExporter commented 8 years ago
Committed simple fix to javadoc. re-ran tests and they passed.

Original comment by jtmel...@gmail.com on 4 Nov 2010 at 2:22