user20377051
user20377051

Reputation: 35

fortify: path manipulation in c#

I have the following code snippet:

string fileUrl = "Folder1"+jaar+".docx";
getFile(fileUrl);

The jaar parameter which is an int is the current year and actually comes from the application and it is not an input from the user, however Fortify complains about the fileUrl.

How can I fix this?

Upvotes: 1

Views: 260

Answers (0)

Related Questions