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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2638, the corresponding Phabricator task for complete and up-to-date bug report information.
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