summaryrefslogtreecommitdiff
path: root/doc-src/help
diff options
context:
space:
mode:
authorBrett Taylor <brett@webfroot.co.nz>2009-08-12 16:00:46 +1200
committerBrenda Wallace <shiny@cpan.org>2009-08-12 16:17:02 +1200
commit3243612e7636b095cbcea1ceaaba00f964b1d097 (patch)
tree7f3fb175c374f3619af2f9e34be001a8faa4fd13 /doc-src/help
parent2260cf20f5cbbda13fa470b55509c89f4f1e08e7 (diff)
Prevents redirect URLs that have canonical URLs longer than 255 chars from being written to the database as their canonical. Redirecting URLs will instead be saved to the database as given.
The reason for this is that table 'file' column 'url' is a VARCHAR(255) in MySQL and it silently truncates URLs longer than 255 characters, breaking the url. The proper fix for this is to improve this column, making its type TEXT, but there are no database changes for 0.8.x, so this is the next best thing for data integrity. A migration script for 0.9.x could be written to audit the database checking for redirects and updating these urls to their proper canonical url.
Diffstat (limited to 'doc-src/help')
0 files changed, 0 insertions, 0 deletions