Last modified: 2005-06-14 17:25:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 638 - Option to load uploads from another domain
Option to load uploads from another domain
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 628
  Show dependency treegraph
 
Reported: 2004-10-03 19:01 UTC by Tom Gilder
Modified: 2005-06-14 17:25 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tom Gilder 2004-10-03 19:01:18 UTC
For security reasons, it's a good idea to load uploads from a different domain than the primary content 
is on. Currently the only easy way to do that is to do a server redirect, which causes problems with IE 
and wastes HTTP requests (see bug 628).

It would be much more efficient to simply have global options to set the base URL for all images and 
other uploads. One option to toggle it on and off, another for the base domain and possible directory.
Comment 1 Brion Vibber 2004-10-03 19:34:20 UTC
As far as I can see setting the full URL path in $wgUploadPath should be sufficient.

1.4 also has a prepended $wgUploadBaseUrl, but I'm not sure it's necessary.
Comment 2 Tom Gilder 2004-10-05 22:06:50 UTC
As you can use $wgUploadBaseUrl, a new option isn't needed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links