fix #364 File names with multiple dots in atmapreader grunt task #364

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Member

divdavem commented Feb 6, 2013

There is a discrepency between the atmapreader grunt task and
aria.core.DownloadMgr.resolveURL.

When removing the extension, the grunt task is looking for the
first dot, whereas the DownloadMgr is looking for the last dot,
so that there is a problem for files containing multiple
dots (such as .tpl.txt, .tpl.css).

This pull request fixes the atmapreader grunt task to match the behavior
of the DownloadMgr.

@divdavem divdavem fix #364 File names with multiple dots in atmapreader grunt task
There was a discrepency between the atmapreader grunt task and
aria.core.DownloadMgr.resolveURL.

When removing the extension, the grunt task was looking for the
first dot, whereas the DownloadMgr was looking for the last dot,
so that there was a problem for files containing multiple
dots (such as .tpl.txt, .tpl.css).

This commit fixes the atmapreader grunt task to match the behavior
of the DownloadMgr.
c168ba7
Contributor

piuccio commented Mar 14, 2013

As I understand this is not going to be integrated because we changed completely our grunt tasks. Closing

piuccio closed this Mar 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment