Forum Discussion

jbrave's avatar
jbrave
Channel Surfer
15 years ago

maximum URL length?

Is there a limit to the size of urls that an RoUrlXfer will digest?

xfer = CreateObject("roURLTransfer")

xfer.seturl("http://www.google.com")

?xfer.geturl()

http://www.google.com

url="http://api.soundcloud.com/tracks.xml?consumer_key=----------------------&limit=21&offset=0&order=hotness&created_at[from]=2010-8-24"

xfer.seturl(url)

?xfer.GetUrl()

http://www.google.com

xfer.SetUrl("http://www.ibm.com")

?xfer.GetURl()

http://www.ibm.com

xfer.setURL("http://api.soundcloud.com/tracks.xml?consumer_key=----------------------&limit=21&offset=0&order=hotness&created_at[from]=2010-8-24")

?xfer.GetURl()

http://www.ibm.com

So that is why I've been tearing my hair out... Is this a bug or is there a reason for this? Any useful workarounds? now I know why my app broke last night when I added "&created_at[from]=2010-8-24" to the end of the URL, and why it broke in a way I couldn't trace easily (poster items showing up in the wrong category... because the URL didn't change)

17 Replies