The Trunk: Installer-Core-fbs.361.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Installer-Core-fbs.361.mcz

commits-2
Frank Shearar uploaded a new version of Installer-Core to project The Trunk:
http://source.squeak.org/trunk/Installer-Core-fbs.361.mcz

==================== Summary ====================

Name: Installer-Core-fbs.361
Author: fbs
Time: 28 January 2013, 7:27:10.446 pm
UUID: aec04b50-d4bd-4bbf-9c67-9d749756c8fb
Ancestors: Installer-Core-bp.360

Mantis #7726: Installer should sanitise user input. Now we can handle whitespace around/between package names/versions.

=============== Diff against Installer-Core-bp.360 ===============

Item was changed:
  ----- Method: Installer>>packageAndVersionFrom: (in category 'squeakmap') -----
  packageAndVersionFrom: pkg
-
  | p |
  p := ReadStream on: pkg .
+ ^{(p upTo: $(). p upTo: $)} collect: [:s | s withBlanksTrimmed].!
- ^Array with: (p upTo: $() with: (p upTo: $)).!