Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Addresses SourceForge Bug #110170. All double-quotes in submission co…

…mments

are now converted to single quotes upon insertion into the database.
Browsers just don't handle double-quotes well enough to allow there use
via an input-box that's supposed to display its own content.
  • Loading branch information...
commit aec48991346818c5b7c1ffa6fd726468eb474ff1 1 parent ccde36f
@Xliff Xliff authored
View
1  plugins/Submit/submit.pl
@@ -243,6 +243,7 @@ sub rmSub {
delete $sub{note};
$sub{-note} = 'NULL';
}
+ $sub{comment} =~ s/\"/\'/g if $sub{comment};
sqlUpdate("submissions", \%sub,
"subid=" . $I{dbh}->quote($n));
View
1  public_html/submit.pl
@@ -243,6 +243,7 @@ sub rmSub {
delete $sub{note};
$sub{-note} = 'NULL';
}
+ $sub{comment} =~ s/\"/\'/g if $sub{comment};
sqlUpdate("submissions", \%sub,
"subid=" . $I{dbh}->quote($n));
View
1  themes/slashcode/htdocs/submit.pl
@@ -243,6 +243,7 @@ sub rmSub {
delete $sub{note};
$sub{-note} = 'NULL';
}
+ $sub{comment} =~ s/\"/\'/g if $sub{comment};
sqlUpdate("submissions", \%sub,
"subid=" . $I{dbh}->quote($n));
Please sign in to comment.
Something went wrong with that request. Please try again.