[buddypress-trac] [BuddyPress Trac] #7674: Cover Image & More Cannot be Uploaded on Windows Servers with 2.9.3 Update
buddypress-trac
noreply at wordpress.org
Tue Feb 6 08:55:31 UTC 2018
#7674: Cover Image & More Cannot be Uploaded on Windows Servers with 2.9.3 Update
--------------------------+--------------------
Reporter: andrewteg | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9.3
Component: Media | Version: 2.9.2
Severity: normal | Resolution:
Keywords: |
--------------------------+--------------------
Comment (by wordplus):
Replying to [comment:4 DJPaul]:
> Discussion on Slack
https://wordpress.slack.com/archives/C02RQBYUG/p1517258207000486 has
suggested that we could check for a return value of `1` here instead.
>
> We've found some team members with access to Windows servers, so next
step is to test `validate_file()` on those machines (maybe via WP-CLI) and
verify the behaviour.
I think the problem is that, validate_file performs abit another function.
This function should check only relative paths,
[https://buddypress.trac.wordpress.org/browser/branches/2.9/src/bp-core
/bp-core-attachments.php?rev=11820#L1317 here] its trying to check
absolute path, thats why its not working properly.
We should remove it from that conditional or change what we checking.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7674#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list