I have some pretty long url's I'm trying to input with this module but on the URL field it cuts off about halfway. It looks like the field will accommodate around 100 or so characters but no more. Is there a patch or anything I can do so that I can submit longer Urls? Maybe something that would allow me to select more rows on the fieldset. I just need to have some way where I can enter longer urls. Is there anything I can do?

Comments

quicksketch’s picture

Link should handle URLs up to 255 characters. Is the URL itself actually cropped off or it is just on the display? Link defaults to a display of about 80 characters if the URL is used as the title. Such as:

<a href="http://www.example.com/somelongurl/somelongurl/somelongurl/somelongurl/somel">http://www.example.com/somelongurl/somelongurl/somel</a>

So the link is intact, it just displays cropped. Is this the case?

orionvortex’s picture

It is the actual link itself that is getting cropped off. Because the link is so long I am just using something like "Japanese website" as the display title. Also, the link is getting cropped off in the fieldset when you enter in the value. I paste the entire link in the field but only three-fourths of the link actually goes in. Without submitting or anything more, i can immediately check to see if all of the link was put in the field and see that only 3/4 of it is in there.

quicksketch’s picture

Status: Active » Fixed

Thanks for the info. I hadn't set a specific size on the fields, so they were using the default of 128 characters. I bumped this up to match the current database max of 255 characters. Download the cvs version to try it out. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)
PinkChocobo’s picture

tinyurl.com will make a shorter alias for you

greggles’s picture

For anyone looking for further solutions, there's a patch in #376818: Really long URL gets cut off to make it even longer so that it can handle URLs as long as most browsers can handle.