Make WordPress Core

Opened 19 years ago

Closed 18 years ago

#6846 closed defect (bug) (duplicate)

upload media http error on password protected root wp folder

Reported by: michelwp Owned by:
Priority: normal Milestone:
Component: General Version: 2.5.1
Severity: normal Keywords: upload 2nd-opinion needs-patch
Cc: Focuses:

Description

this defect was not present in former release (<=233):

when uploading media (png, jpg, ...) on a wp 2.5.x site installed in a password protected folder (.htacess/.htpasswd) : an http error occur !
(tested both with safari 3.1.1 and lastest Firefox on Mac.)

it is a loss that don't permit to prepare securely a site based on wp25...

Change History (4)

#1 follow-up: @DD32
19 years ago

This would be due to the Flash uploader not supporting .htaccess password protection.

AFAIK, Unless there has been a change in the SwfUploader package, the only way currently is to disable the flash uploader via a plugin: ​http://trac.wordpress.org/attachment/ticket/6406/no-flash-uploader.php?format=raw

#2 in reply to: ↑ 1 @michelwp
19 years ago

Well, it is a short but efficient code. Why WP don't include this option in settings (like editor).

M.

Replying to DD32:

This would be due to the Flash uploader not supporting .htaccess password protection.

AFAIK, Unless there has been a change in the SwfUploader package, the only way currently is to disable the flash uploader via a plugin: ​http://trac.wordpress.org/attachment/ticket/6406/no-flash-uploader.php?format=raw

#3 @DD32
19 years ago

  • Keywords 2nd-opinion needs-patch added
  • Milestone 2.5.2 → 2.6

Well, it is a short but efficient code. Why WP don't include this option in settings (like editor).

I guess you'll just have to resd the #6406 ticket for that.

#4 @DD32
18 years ago

  • Milestone 2.9
  • Resolution → duplicate
  • Status new → closed

Duplicate of #6473 (Wordpress 2.5 fails to allow file uploads if you use .htaccess to secure wp-admin)

Note: See TracTickets for help on using tickets.