webloc icon indicating copy to clipboard operation
webloc copied to clipboard

RangeError for long URLS

Open wtn opened this issue 9 months ago • 0 comments

When trying to write a webloc with a long URI (247 characters) I got the following error:

webloc-0.2.0/lib/webloc.rb:55:in `chr': 265 out of char range (RangeError)
	from webloc-0.2.0/lib/webloc.rb:55:in `data'
	from webloc-0.2.0/lib/webloc.rb:61:in `block in save'
	from webloc-0.2.0/lib/webloc.rb:61:in `open'
	from webloc-0.2.0/lib/webloc.rb:61:in `save'

This issue appears to be distinct from #1.

wtn avatar Apr 27 '24 23:04 wtn