cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-9238) URL fields in database are to small. Cause malformed URLs
Date Fri, 27 May 2016 06:04:12 GMT


ASF GitHub Bot commented on CLOUDSTACK-9238:

Github user marcaurele commented on the pull request:
    Hi! Talking with @footplus on the mailing list, I realized that this patch is not correct.
It's missing modifications on the VO objects to let the String holds more than 255 characters
because in the `GenericDaoBase`, `String` fields are by default of 255 chars, see:
    This PR should be updated, or should there be a new one to add those changes?

> URL fields in database are to small. Cause malformed URLs
> ---------------------------------------------------------
>                 Key: CLOUDSTACK-9238
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.6.0, 4.7.0, 4.8.0
>            Reporter: Wido den Hollander
>            Assignee: Wido den Hollander
>              Labels: s3, template, templates, url, urls
>             Fix For: 4.8.0
> In for example the 'volume_store_ref' table the 'download_url' field is a VARCHAR(255).
> This is to short for URLs. Same goes for the 'object_datastore_ref' table and the 'url'
> With pre-signed S3 URLs this will cause issues.
> The fix would be to change the database fields to a VARCHAR(2048). No code-change is

This message was sent by Atlassian JIRA

View raw message