URL text field gets stripped above 255 chars

9 años 6 meses antes #838 por Geir
Hi.

I noticed the Component Creators text field with URL formatting stripped down my URL when it exceeded 255 characters. I found the fields data type in the database was varchar(255). This is way too short since some of my clients URL strings uses  long query strings.

I did some research and found that IE seems to be the browser with the shortest URL allowed, at 2083 characters, and that is still way higher than that of Component Creators components.
I know MySQL has supported varchars above 255 since 5.0.3, which has been below Joomla!s minimum requirements since Joomla! 1.6 (MySQL 5.0.4), which happens to be the lowest Joomla! Component Creator support.

Unless I am missing something, couldn't the data type simply be set to varchar(2083) in the SQL install file?
If I'm right, the fix wouldn't affect users in any other way, so it could and should be fixed quickly.
In case you don't implement it immediately, please update the help string to contain a warning about the default behavior.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Tiempo de carga de la página: 0.043 segundos
Gracias a Foro Kunena

Utilizamos cookies propias y de terceros para mejorar nuestros servicios y mostrarle publicidad relacionada con sus preferencias mediante el análisis de sus hábitos de navegación. Si continua navegando, consideramos que acepta su uso.