[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2013-09-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

Version|1.17.0  |1.17

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-10-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

--- Comment #15 from joe.fow...@jdi-solutions.co.uk 2011-10-12 08:31:38 UTC ---
Hold on, isn't that just a work-around? Should it not be not producing the
message at all?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

mack...@gmail.com changed:

   What|Removed |Added

Version|1.16|1.17.0

--- Comment #13 from mack...@gmail.com 2011-10-08 14:15:20 UTC ---
Finally I just went ahead and installed a new, separate, fresh installation of
1.17.0.

It's still broken in 1.17.0 (and I've changed the version of this bug to
reflect that).

The steps are still the same.  When bringing up the upload file page (with
$wgStrictFileExtensions set to false), the page shows:

Preferred file types: png, gif, jpg, jpeg.

Prohibited file types: html, htm, js, jsb, mhtml, mht, xhtml, xht, php, phtml,
php3, php4, php5, phps, shtml, jhtml, pl, py, cgi, exe, scr, dll, msi, vbs,
bat, com, pif, cmd, vxd, cpl.

I can successfully upload a .png/.jpg file with no problem.

However, attempting to upload a .pdf file (notice it's not in the prohibited
list) produces this output:

.pdf is an unwanted file type. Preferred file types are $2.

Please modify the file description below and try again.

Yes, it really shows $2 instead of an actual list of preferred types --
that's another bug.

Also version 1.17.0 has changed enough that the previously provided patches no
longer work to fix the problem and I haven't poked around enough to figure out
a new patch for 1.17.0.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

mack...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #14 from mack...@gmail.com 2011-10-08 14:26:21 UTC ---
Never mind.  You can just hit the big Ignore warning and save file anyway
button down at the bottom of the dialog and continue on to save the file.

Marking this resolved in 1.17.0.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-10-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

Sumana Harihareswara suma...@panix.com changed:

   What|Removed |Added

 CC||suma...@panix.com

--- Comment #12 from Sumana Harihareswara suma...@panix.com 2011-10-07 
19:13:48 UTC ---
mackyle, did you have time to verify the fix? 1.17.0 is now out.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-07-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

Dan Collins en.wp.s...@gmail.com changed:

   What|Removed |Added

   Keywords||testme
 CC||en.wp.s...@gmail.com

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-07-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

Dan Collins en.wp.s...@gmail.com changed:

   What|Removed |Added

 CC||joe.fow...@jdi-solutions.co
   ||.uk

--- Comment #11 from Dan Collins en.wp.s...@gmail.com 2011-07-16 05:41:02 UTC 
---
*** Bug 27128 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-06-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

Sidcom sid...@gmx.at changed:

   What|Removed |Added

 CC||sid...@gmx.at

--- Comment #9 from Sidcom sid...@gmx.at 2011-06-17 11:06:35 UTC ---
Is this the same bug as #24022 - and therefor fixed in r68848 ?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-06-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

mack...@gmail.com changed:

   What|Removed |Added

   See Also||https://bugzilla.wikimedia.
   ||org/show_bug.cgi?id=24022

--- Comment #10 from mack...@gmail.com 2011-06-17 12:28:15 UTC ---
Sounds very similar.  r68848 and r68849 probably fix it.  I'll verify and close
once 1.17 is released.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-05-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

m.bemm...@optacom.com changed:

   What|Removed |Added

 CC||m.bemm...@optacom.com

--- Comment #8 from m.bemm...@optacom.com 2011-05-20 10:28:36 UTC ---
The patch works for 1.16.5, just tested.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-01-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

 CC||m...@everybody.org
 AssignedTo|wikibugs-l@lists.wikimedia. |tpars...@wikimedia.org
   |org |

--- Comment #7 from Mark A. Hershberger m...@everybody.org 2011-01-22 
03:17:33 UTC ---
Giving this to Trevor since it involves JS

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-01-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

--- Comment #6 from Nahor nahor.j+mediaw...@gmail.com 2011-01-14 23:39:03 UTC 
---
Comment on attachment 7651
  -- https://bugzilla.wikimedia.org/attachment.cgi?id=7651
REL1_16 patch


+  if( $wgCheckFileExtensions  $wgStrictFileExtensions ) 
{
+  global $wgFileExtensions, 
$wgAjaxUploadInterface;
+  $vars['wgFileExtensions'] = $wgFileExtensions;
+  }

if wgFileExtensions is not defined in JavaScript, it prevents the rest from
working like pre-filling the destination filename field.
You should set wgFileExtensions to NULL when wgCheckFileExtensions or
wgStrictFileExtensions are false.
else {
$vars['wgFileExtensions'] =  NULL;
}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2011-01-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

Anders Kaseorg ande...@mit.edu changed:

   What|Removed |Added

 CC||ande...@mit.edu

--- Comment #5 from Anders Kaseorg ande...@mit.edu 2011-01-13 22:24:27 UTC ---
Same problem in MediaWiki 1.16.0.  The patch in comment 1 fixes it for me.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2010-08-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

--- Comment #1 from mack...@gmail.com 2010-08-24 17:56:26 UTC ---
Created attachment 7651
  -- https://bugzilla.wikimedia.org/attachment.cgi?id=7651
REL1_16 patch

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2010-08-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 CC||hart...@videolan.org

--- Comment #3 from Derk-Jan Hartman hart...@videolan.org 2010-08-25 00:03:31 
UTC ---
it works if you disable JS right ? This is because the JS code of the upload
page is blocking the upload ?
I believe we have another bug on that issue, but i can't find it right now.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24923] Uploads fail with !$wgStrictFileExtensions and non-preferred extension

2010-08-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24923

--- Comment #4 from mack...@gmail.com 2010-08-25 05:26:25 UTC ---
Yes, upload.js is causing the problem, but it's not getting enough information
to do it correctly.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l