[squeak-dev] The Inbox: Installer-Core-fbs.361.mcz

commits at source.squeak.org commits at source.squeak.org
Wed May 22 21:24:46 UTC 2013


A new version of Installer-Core was added to project The Inbox:
http://source.squeak.org/inbox/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: $)).!



More information about the Squeak-dev mailing list