middleman-s3_sync icon indicating copy to clipboard operation
middleman-s3_sync copied to clipboard

Add support for Case Sensitive Redirects On MAC OSX

Open umerebryx opened this issue 4 years ago • 0 comments

When I add below redirect rule I end with an infinite redirect loop.

redirect 'cts/index.html', to: '/CTS/'

After doing some research it looks like Mac OSX filesystem is case insensitive which means if I create CTS directory behind the scene it also creates a cts folder and both directories are kept in sync. When I add the redirect rule middleman_s3sync end up replacing my html file with the redirect one hence the infinite loop.

Is it possible to support case sensitive redirects on UNIX/MAC OSX?

umerebryx avatar Sep 04 '20 06:09 umerebryx