Make WordPress Core

Opened 14 years ago

Closed 8 years ago

#10988 closed defect (bug) (worksforme)

http://domain.tld/keyword searches media library for matching items when logged in

Reported by: squirrelpimp's profile squirrelpimp Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8.4
Component: Permalinks Keywords: close
Focuses: Cc:


On my site i have a file in the media library called else.jpg. If I access I get the expected 404. If I'm logged in in the backend however, I get redirected to the media item page of else.jpg (where I could download it). Also pretty permalinks have to be enabled using .htaccess files.

To reproduce, you have to create a media library item with a simple name, say else.jpg and upload it, using "else" as description in every form field. Then simply enable pretty urls, login into the backend and access http://domain.tld/else.

I hope, this is comprehensible.

My version is 2.8.4 DE-Edition.

Change History (7)

#1 @hakre
14 years ago

  • Milestone changed from Unassigned to 2.9

So would you rate this as a bug or as a feature?

From what you explain it looks a bit too me that the cause of this error is somewhere down in the WP_Query class and the (undocumented) algorythm to decide what an URI stands for. Have you done something to find out what the cause of the reported behaviour is?

#2 @nacin
13 years ago

  • Keywords reporter-feedback added
  • Milestone changed from 2.9 to Future Release

#3 @johnbillion
13 years ago

  • Keywords reporter-feedback removed
  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Closing as dupe of #12634 which is a more active ticket.

#4 @nacin
13 years ago

  • Milestone set to Future Release
  • Resolution duplicate deleted
  • Status changed from closed to reopened

Not convinced this is a duplicate quite yet. In #12634 we're having trouble duplicating it.

#5 @Ipstenu
9 years ago

  • Keywords close added

Testing in 4.0-trunk and I can't reproduce this anymore. Did we magically fix this in the various permalink updates?

#6 @ryan
9 years ago

  • Owner ryan deleted
  • Status changed from reopened to assigned

#7 @wonderboymusic
8 years ago

  • Milestone Future Release deleted
  • Resolution set to worksforme
  • Status changed from assigned to closed

appears to be fixed per comment:5 - no feedback since that was suggested 15 months ago

Note: See TracTickets for help on using tickets.