Problem:
There is a new version of ncl available and the url on their website pointing to the gateway contains two slashes in the url instead of one.
The file is downloaded correctly by the end user, but our metrics code doesn't normalize the url and we are unable to look up the file for some reason. Most likely because we are either splitting the string on forward slashes or we have a regex that isn't able to work any longer.
Acceptance Criteria:
Write a unit test that shows the problem in our code.
Add url normalization behavior when reading or creating the requested url in the metrics subsystem.
There is a new version of ncl available and the url on their website pointing to the gateway contains two slashes in the url instead of one.
The file is downloaded correctly by the end user, but our metrics code doesn't normalize the url and we are unable to look up the file for some reason. Most likely because we are either splitting the string on forward slashes or we have a regex that isn't able to work any longer.
Acceptance Criteria:
Write a unit test that shows the problem in our code.
Add url normalization behavior when reading or creating the requested url in the metrics subsystem.