[pmwiki-users] Bug in PmWikiDraw?
chr at home.se
chr at home.se
Mon Mar 14 08:32:35 CST 2005
On Mon, 14 Mar 2005, Ciaran wrote:
> Actually pmwikidraw should cope in this case, as the htaccess file
> will cause it to use Basic auth which will cause a popup to appear to
> do the authentication..at least I think it does ..it did :) , could I
> see the traced messsages ?
Here's what I get (I've replaced the actual URI to my site with domain.se, and
deleted the HTML code of the wiki page though). Have fun...
/Christian
(PS. Do I need to enable some special upload extension, e.g. .draw?)
-- Opera Java Console --
Java vendor: Sun Microsystems Inc.
Java version: 1.4.2_06
type 'h' for help
--
PmWikiDraw v2.36
java.io.IOException: Connection failed.
at com.opera.OperaURLConnection.connect(OperaURLConnection.java:103)
at com.opera.OperaURLConnection.getInputStream(OperaURLConnection.java:111)
at java.net.URL.openStream(Unknown Source)
at com.wombatinvasion.pmwikidraw.PmWikiDrawFrame.readFromStorableInput(Unknown Source)
at com.wombatinvasion.pmwikidraw.PmWikiDrawFrame.readDrawing(Unknown Source)
at com.wombatinvasion.pmwikidraw.PmWikiDrawFrame.loadDrawing(Unknown Source)
at com.wombatinvasion.pmwikidraw.PmWikiDraw.init(Unknown Source)
at com.opera.PluginPanel.run(PluginPanel.java:441)
at java.lang.Thread.run(Unknown Source)
PageName:Main.WikiSandbox
Saving .draw file testDrawing.draw
converting data to GIF...
conversion to GIF successful.
Current drawing baseTime:1110810208
Actual URL:http://domain.se
--89692781418184
Content-Disposition: form-data; name="pagename"
Main.WikiSandbox
--89692781418184
Content-Disposition: form-data; name="authpw"
--89692781418184
Content-Disposition: form-data; name="drawingname"
testDrawing
--89692781418184
Content-Disposition: form-data; name="action"
postDrawing
--89692781418184
Content-Disposition: form-data; name="noredirect"
fish
--89692781418184
Content-Disposition: form-data; name="redirect"
0
--89692781418184
Content-Disposition: form-data; name="drawingbasetime"
1110810208
--89692781418184
Content-Disposition: form-data; name="uploadDrawing"; filename="testDrawing.draw"
Content-Type: text/plain
com.wombatinvasion.pmwikidraw.PmWikiDrawing 2 1
org.jhotdraw.figures.RectangleFigure "attributes" "attributes" 2 "FillColor" "Color" 112 219 147 "FrameColor" "Color" 0 0 0 150 40 90 110
--89692781418184
Content-Disposition: form-data; name="uploadMap"; filename="testDrawing.map"
Content-Type: text/plain
<map name="testDrawing" id="testDrawing "><area shape="rect" coords="0,0,250,5" href="$editImageUrl" alt="Click to edit the image" title="Click to edit the image" />
<area shape="rect" coords="0,0,5,160" href="$editImageUrl" alt="Click to edit the image" title="Click to edit the image" />
<area shape="rect" coords="245,0,250,160" href="$editImageUrl" alt="Click to edit the image" title="Click to edit the image" />
<area shape="rect" coords="0,155,250,160" href="$editImageUrl" alt="Click to edit the image" title="Click to edit the image" />
</map>
--89692781418184
Content-Disposition: form-data; name="uploadImage"; filename="testDrawing.gif"
Content-Type: image/gif
Content-Transfer-Encoding: binary
GIF89a?
Wrote 2490 bytes to
com.opera.HttpURLConnection:http://domain.se
REPLY:<!DOCTYPE html
REPLY: PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
REPLY: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
REPLY:<html>
REPLY:<head>
<snip, this was a copy of the HTML for the wiki page>
REPLY:</html>
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list