Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
path.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2006 at 06:15 UTC
Updated:
5 Oct 2010 at 15:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
reikiman commentedOh, the problem is that if the generated alias is too long then it fails to insert properly and afterward any attempt to visit that node results in an error.
Rejiggering the url_alias table to have wider fields fixes the problem.
Comment #2
nicholasthompson1 year late - but you might need to bear this in mind:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2
They say that a URI can be any length - however some old proxies might have trouble with ones over 255 characters. I've also heard that Google and Co aren't keen on them being more than 128.
Comment #3
mikeschinkel commentedI have spent a LOT of time researching URLs (see my Well Designed URLs Initiative) including time monitoring and participating on the URL mailing list uri@w3c.org and at this point there are very few if any proxies that can't handle longer URLs. You've got to remember that the RFC you quoted was written in 1999, and even back then they were referring to old proxies. Anytime I've seen conversation comes up regarding length of URLs in the past five years everyone has admitted that there is no longer any reasonable need to limit URLs to 128 characters.
OTOH, URLs longer than 128 character really offer poor usability for the user so I would ideally avoid them at all cost. But for a generic URL architecture that follows a set of patterns, making it possible for URLs to be longer than 128 characters would avoid situations where the pattern generates URLs longer than 128 characters and thus breaks the architecture of a site.
Comment #4
anoopjohn commentedThere is another issue with the size of the edit field for editing the urls from the url_alias page in the admin/sitebuilding menu. The field has max size set as 64 char. I am using drupal 5.1 and the path module id is
; $Id: path.info,v 1.3 2006/11/21 20:55:34 dries Exp $.
I am uploading the modified path.module which alllows 128 chars while editing.
Comment #5
giorgio79 commentedAny plans to making url_alias field longer than 128?
Comment #6
giorgio79 commentedIt seems this page is abandoned.
Since it is core, this needs to be posted to Drupal, which I did
http://drupal.org/node/262265
Check it out :)
Comment #7
gpk commentedChanging issue settings.
Comment #8
dave reidThis has been fixed already to 255 characters. Anything longer than that and you probably *shouldn't* be using such long paths. They're not good.
Comment #10
DenII commentedComment #11
dave reid