URL text field gets stripped above 255 chars

9 år 7 måneder siden #838 af 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.

Venligst Log på eller Opret en konto for at deltage i samtalen

Tid til at oprette siden: 0.073 sekunder
Leveret af Kunena Forum

Vi we benytter cookies, så vi bedst muligt kan levere vores services. For mere information, se vores