Changeset 1403 for branches/eraser6/BlackBox
- Timestamp:
- 12/22/2009 3:47:42 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/BlackBox/Eraser/BlackBoxUploadForm.cs
r1402 r1403 248 248 { 249 249 Random rand = new Random(); 250 for (int i = 0 ; i < 20 + rand.Next(40); ++i)250 for (int i = 0, j = 20 + rand.Next(40); i < j; ++i) 251 251 Boundary += ValidBoundaryChars[rand.Next(ValidBoundaryChars.Length)]; 252 252 } … … 312 312 private string FileName; 313 313 314 /// <summary> 315 /// Characters valid for use in the multipart boundary. 316 /// </summary> 314 317 private static readonly string ValidBoundaryChars = 315 318 "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'()+_,-./:=?";
Note: See TracChangeset
for help on using the changeset viewer.
