[Owncloud] SabreDAV 1.6.3 in ownCloud 5?

Georg Ehrke ownclouddev at georgswebsite.de
Fri Jul 20 13:35:18 UTC 2012


Am 20.07.2012 um 15:21 schrieb Diederik de Haas:
> On Friday 20 July 2012 14:57:54 Georg Ehrke wrote:
>> In the update instructions is written, that the column URI has to be a
>> varchar with a length of 200. Calendar uses a length of 255, so everything
>> will be fine with calendar. @Thomas: Would you like to update the contacts
>> app database? It uses currently varchar with a length of 100.
> 
> Why these arbitrary short lengths for URI?
> I _thought_ that the maximum length for an URI was 2048, but according to [1] 
> and the standard RFC 2616 [2] there is no real limit on the length of an URI, 
> although 2000/2048 seems to be the practical one.
> 
> Since it looks like there needs to be a db 'conversion' anyway, why not do it 
> properly?
A URL is not a URI.
The URI (Uniform resource identifier) is a kind of an id for e.g. a contact.
Evenmore, afaik a varchar's max length is (or was) 255.

Cheers,
Georg 


> 
> Cheers,
>  Diederik
> 
> 
> [1] http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url
> [2] http://www.faqs.org/rfcs/rfc2616.html




More information about the Owncloud mailing list