[wp-trac] [WordPress Trac] #10372: atom: attachment/file/\d doesn't find attachment file
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 10 12:19:21 UTC 2009
#10372: atom: attachment/file/\d doesn't find attachment file
--------------------------+-------------------------------------------------
Reporter: mysz | Owner: josephscott
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: AtomPub | Version:
Severity: normal | Keywords: reporter-feedback
--------------------------+-------------------------------------------------
Changes (by mysz):
* cc: marcin@… (added)
Comment:
Wordpress from subversion: r11705, IdeaWebServer (home.pl webhosting
webserver), PHP as FCGI.
My upload path is /photos.
Now at my desktop i try to play with python:
h = httplib.HTTPConnection ('h2o.sztolcman.eu')
h.set_debuglevel (10)
h.connect ()
h.request ('GET', '/wp-app.php/attachment/file/166',
headers={'Authorization': 'Basic '+base64.b64encode ('login:password')})
I enable log in wp-app.php, and I got there warnings I describe before.
With patch I attached, I can download requested file correctly :)
ps. I tried to download file via browser: http://h2o.sztolcman.eu/wp-
app.php/attachment/file/166 and I got the same warnings, and file
downloading never ends.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10372#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list