Security fix. This is how easy they are to miss...
This commit is contained in:
@@ -518,7 +518,7 @@ public partial class Pages_v5_Init_Default : Page
|
||||
sqlCityBuild.Append (",");
|
||||
}
|
||||
|
||||
sqlCityBuild.Append ("('" + city.Name.Replace ("'", "\'") + "'," + newGeographyId + "," +
|
||||
sqlCityBuild.Append ("('" + city.Name.Replace ("'", "\\'") + "'," + newGeographyId + "," +
|
||||
newCountryId + ",'')");
|
||||
insertComma = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user