[BUGFIX] fix detection of static files to allow periods in urls