[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [bug] URL decodedFields causes ArgumentOutOfRange excep

From: Nikita Kalinin
Subject: [Help-smalltalk] [bug] URL decodedFields causes ArgumentOutOfRange exception
Date: Sat, 16 Aug 2014 05:10:46 -0700

Issue status update for Post a follow up:

Project:      GNU Smalltalk
Version:      <none>
Component:    NetClients
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  nixo
Updated by:   nixo
Status:       active


url := URL fromString: '?key=value'.
fields := url decodedFields.
fields printNl.

Object: 'key=value' error: Invalid argument 0: argument must be between
4 and 9
SystemExceptions.ArgumentOutOfRange class>>signalOn:mustBeBetween:and:
[] in URL>>decodedFields (
Smalltalk.OrderedCollection>>do: (
URL>>decodedFields (
Smalltalk.UndefinedObject>>executeStatements (

It seems to be a typo in this method. The size of 'key=value' is needed
when extracting the 'value':

keyValue size
But found:

value size
So after fixing:

LookupTable (

reply via email to

[Prev in Thread] Current Thread [Next in Thread]