diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-15 18:49:44 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-15 18:49:44 +0200 |
commit | 34342814a0e66764e36f815d23479f1735f146fc (patch) | |
tree | 99b9d1c4a8fc41de1477543b52f25c8432febb01 /js/app/services | |
parent | 0ed9131f3f1c851158421b39767bf94264f80b8b (diff) |
fix potential errors when fetching favicon that preven feed from being added, fix #66 by not shortening the url
Diffstat (limited to 'js/app/services')
-rw-r--r-- | js/app/services/businesslayer/feedbusinesslayer.coffee | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/app/services/businesslayer/feedbusinesslayer.coffee b/js/app/services/businesslayer/feedbusinesslayer.coffee index d83e38268..fcdcc8093 100644 --- a/js/app/services/businesslayer/feedbusinesslayer.coffee +++ b/js/app/services/businesslayer/feedbusinesslayer.coffee @@ -140,9 +140,7 @@ FeedModel, NewLoading, _ExistsError, Utils) -> throw new _ExistsError('Exists already') feed = - title: url.replace( - /^(?:https?:\/\/)?(?:www\.)?([a-z0-9_\-\.]+)(?:\/.*)?$/gi, - '$1') + title: url url: url urlHash: urlHash folderId: parentId |