Permalink
Browse files

Fixing push for urls with # in them.

  • Loading branch information...
mikeal committed Feb 18, 2009
1 parent 69e4d02 commit a4ca8c6d35e6d28302e7f8c2cccd60f52b3f1503
Showing with 1 addition and 1 deletion.
  1. +1 −1 extension/resource/modules/service.js
@@ -74,7 +74,7 @@ Service._deliciousAdd = function (bookmark) {
var XMLHttpRequest = utils.getMethodInWindows('XMLHttpRequest');
var req = new XMLHttpRequest();
var url = 'https://api.del.icio.us/v1/posts/add?';
- url += '&url='+bookmark.uri;
+ url += '&url='+bookmark.uri.split('#')[0];
url += '&description='+bookmark.title;
url += '&extended='+bookmark.title;
url += '&tags='+bookmark.tags.join(' ');

0 comments on commit a4ca8c6

Please sign in to comment.