[Gmod-help] Re: [Gmod-gbrowse] upload file utility from a plugin
Sean O'Keeffe
okeeffe at molgen.mpg.de
Fri Aug 29 07:19:00 EDT 2008
Sheldon McKay wrote:
> Hi Folks,
>
> Sorry to be vague here but it has been a few years. I seem to recall
> running into a problem like when writing the ImportFeatures plugin.
> If memory serves, it had to do with using CGI::start_multipart_form
> instead of CGI::start_form. I think the form-within-a-form approach
> should fix this, otherwise, it might be necessary to make sure gbrowse
> is using start_multipart_form in the context of annotator plugins.
>
> Sheldon
>
>
> On Thu, Aug 28, 2008 at 5:37 PM, Dave Clements, GMOD Help Desk
> <gmodhelp at googlemail.com> wrote:
>
>> Hi Sean,
>>
>> Scott Cain and I also discussed this today. We think that Sarah's
>> form-within-a-form approach might work in an annotator plugin as well.
>> Do you mind trying it?
>>
>> Neither of us know why the file parameter shows up, but not it's
>> value. I looked around the GBrowse code and could not find any
>> security code that would strip this out before passing it to the
>> plugin. Unfortunately, as I am not terribly familiar with the code, I
>> may be looking in the wrong place.
>>
>> Thanks,
>>
>> Dave C.
>> GMOD Help Desk
>>
>>
>>> Hi Dave,
>>> It seems that the filename isn't being passed to the script.
>>> When I do :
>>>
>>> foreach my $param ( $self->config_param() ) {
>>> print STDERR "|$param| => |$config->{$param}|\n";
>>>
>>> I get :
>>>
>>> |file| => ||
>>>
>>> Re: Sarah's post - My issue is that I think this is an annotator plugin
>>> issue as opposed to a dumper one (I stand to be corrected on that).
>>>
>>> Sean.
>>>
>> --
>> Was this helpful? Let us know at http://gmod.org/wiki/Help_Desk_Feedback
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Gmod-gbrowse mailing list
>> Gmod-gbrowse at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>>
>>
>
>
>
>
ok will give it a bash.
cheers.
More information about the Gmod-help
mailing list