U4-4013 - The models that the FileService produces causes security exceptions

Created by Shannon Deminick 09 Jan 2014, 05:24:54 Updated by Shannon Deminick 09 Jan 2014, 13:22:17

Relates to: U4-4014

Relates to: U4-4016

Relates to: U4-3993

The reason is because it is trying to create FileInfo objects just in order to get a FileName but since the path passed in is a relative path it is trying to read a file from the C:\ drive :(

These should just be replaced with System.IO.Path.GetFileName calls, which will be much faster too.

Comments

Shannon Deminick 09 Jan 2014, 07:08:06

This is fixed, just need to merge in to the v7 branch and test there too


Priority: Major

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.0.0, 6.1.0, 7.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.1.1, 6.0.6, 6.0.5, 6.0.7, 6.1.2, 6.2.0, 6.1.3, 6.1.4, 6.1.5, 6.1.6, 7.0.1

Due in version: 6.2.0, 7.0.2

Sprint:

Story Points:

Cycle: