Here goes:

On a root page, hitting the `images' link top right opens a frameset,
the lower frame being
/nadmin/rcs/image/bottom/?ts=1022881165&id=111&type=page&previewbase={previewbase}&popup=&dhtml=&all=&imglnk={imglnk}

This contains the HTML code shown below. The action of the form is 
`/nadmin/rcs/image/action/attach'.

I cannot say which Milestone I am using. I have downloaded the
04/15/2002 files from http://cms.polarmedia.no/midgard/.

Cheers, Ben

<html>
<head>
<title>Untitled Document</title>
</head>
<body bgcolor="#006699">
<form enctype="multipart/form-data"
action="/nadmin/rcs/image/action/attach" METHOD=POST target="image">
<input type="hidden" name="type" value="page">
<input type="hidden" name="id" value="111">
<input type="hidden" name="popup" value="">
<input type="hidden" name="dhtml" value="">
<input type="hidden" name="all" value="">
<b><font size="2" face="Arial, Helvetica, sans-serif"
color="#FFFFFF">Add File</font></b><font size="2" face="Arial,
Helvetica, sans-serif"><b> </b></font> <input type="file"
name="addattachment">

<input type="submit" name="ok" value="Add">
<b><font size="2" face="Arial, Helvetica, sans-serif"
color="#FFFFFF"><br>Extract this File <font size="1">(support
zip,tar,gz)</font> :</font></b><input type="checkbox" name="extractfile"
value="Y">
</form> </body>
</html>

On Fri, 2002-05-31 at 22:42, Tarjei Huse wrote:
> Quoting Ben Peter <[EMAIL PROTECTED]>:
> Hi, I tried looking into the URLS (in M5), but couldn't find the problem. WOuld
> you mind posting an example? 
> 
> Tarjei
> > All,
> > 
> > I have gone further into the problems I had with image uploads in nadmin
> > and found that several url that forms post to do not end in a slash.
> > This may lead to parameter loss in the redirect that is sent back from
> > the server - the problem is even described as a common gotcha in midgard
> > docs.
> > 
> > I have then tried to find the spot where the url is generated, but I am
> > unable to locate the templates that are used for FastTemplate, which is
> > used for the ui generation of these forms.
> > 
> > Can anyone point me to the right spot (or tell me that above analysis is
> > wrong ;-)
> > 
> > Thanks,
> > Ben
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> Mob: 920 63 413 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to