Commits

Christian Noon committed d82cae06d5b
Fixed potential crash case in MIMEType logic exposed by chaining. The trimmed string needs to be pulled into a separate variable. Otherwise, the chained substring call is grabbing indices from the previous string, not the trimmed version. This can lead to index out of bounds problems.