Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error adding link" when attempting to post a page #2

Closed
aecreations opened this issue May 26, 2014 · 3 comments
Closed

"Error adding link" when attempting to post a page #2

aecreations opened this issue May 26, 2014 · 3 comments

Comments

@aecreations
Copy link
Owner

Sometimes, the following error occurs when posting a web page. This is occurring with Delicious Post 1.5 on Firefox 28.

Error message: "Failed to post to Delicious: error adding link"

I can reliably reproduce this issue from these URLs:

@aecreations
Copy link
Owner Author

The fix addresses the issue by double-encoding the special characters in the title and description of the bookmark, adapted from a fix for a similar issue with a Delicious extension for Chrome (see the above commit).

However, this doesn't fix everything. Some symbols, like the em dash and chevrons, don't show up properly when the user later views the URL he posted on his own Delicious page, because they aren't decoded properly by Delicious. To address this, I've replaced commonly-used special characters with "safe" characters; e.g. the em dash becomes a double hyphen ("--").

aecreations pushed a commit that referenced this issue Jun 7, 2014
…ncoding special chars, if necessary in future
aecreations pushed a commit that referenced this issue Jun 7, 2014
…ncoding special chars, if necessary in future. Also, replace a few more special chars
@aecreations
Copy link
Owner Author

Fixed in Delicious Post 1.5.1.

@anddam
Copy link

anddam commented Jun 25, 2015

I'm still seeing this as of v 1.6.1 and FF 38.0.5 while I am logged in delicious.com (WRT cookies).
I confirm that the links are correctly added to my delicious account.

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

No branches or pull requests

2 participants