~david-goetz/swift/zero_handoff

Viewing all changes in revision 192.

  • Committer: Tarmac
  • Author(s): Colin Nicholson, John Dickinson
  • Date: 2011-01-24 23:31:46 UTC
  • mfrom: (187.4.6 domain_remap_prefix_case)
  • Revision ID: tarmac-20110124233146-paaja9uw18z4vxdc
The default reseller_prefix in swift is "AUTH". The domain_remap feature fails in this case because browsers tend to convert urls to lowercase and so by the time the remapped url reaches proxy-server, it is not correct and the request fails.

Changed the code so that if the account starts with the wrongly cased version of reseller prefix, it is corrected. reseller_prefix read from proxy-server.conf.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: