Updating Warmup UI++

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-06-09 17:46:21 -07:00
parent 2138cbdddd
commit f782779ccb
3 changed files with 25 additions and 13 deletions

View File

@@ -117,6 +117,10 @@ namespace Orchard.Warmup.Services {
using (var urlReader = new StringReader(part.Urls)) {
string relativeUrl;
while (null != (relativeUrl = urlReader.ReadLine())) {
if (String.IsNullOrWhiteSpace(relativeUrl)) {
continue;
}
string url = null;
relativeUrl = relativeUrl.Trim();