HTML Case Sensitive Issues

前端 未结 8 1365
醉酒成梦
醉酒成梦 2021-01-28 09:10

We have a site that\'s always been deployed on a windows server with no case sensitivity issues. However we now need to deploy to Linux and know the site has lots of incorrectl

8条回答
  •  春和景丽
    2021-01-28 10:04

    Depending on your leeway for error and your timelines, you could solve this problem by monitoring the webserver logs obsessively for 404 errors as you visit the site. That would involve the fewest changes to the codebase.

    Alternatively, you could require all files to be all lower-case, and then run a checker over the codebase looking for upper-case characters in URLs.

    Either way, you're going to have to do some manual work to get all the kinks worked out.

提交回复
热议问题