Skip to content

Commit

Permalink
refining fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cdelaunay committed Feb 13, 2024
1 parent 9445990 commit 9d161ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ parseFrom: string defaultScheme: defaultScheme
ifTrue: [
self fragment: (self decodePercent: (string copyFrom: fragmentIndex + 1 to: end)).
end := fragmentIndex - 1 ].
((index := (string copyFrom: 1 to: end) indexOf: $?) > 0)
((index := (string indexOf: $?)) between: 1 and: end)
ifTrue: [
self query: (self parseQueryFrom: (ReadStream on: string from: index + 1 to: end)).
end := index - 1 ].
Expand Down

0 comments on commit 9d161ce

Please sign in to comment.