Closed (fixed)
Project:
Knurl
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Feb 2010 at 19:23 UTC
Updated:
11 Aug 2010 at 19:40 UTC
Jump to comment: Most recent file
I have the issue reported here http://drupal.org/node/234744
The module works great, except for the javascript bookmarket. When I click on the bookmarklet, I am notified that the "URL shortcut was successfully created and there is a short url, but the Target URL is empty. Creating a short url from the form works fine.
I am using php-5.2.12-3.el5
mysql-server-5.0.90-1
on CentOS 5.4.
The client is Firefox 3.6.1 on Centos 5.4
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 712890.patch | 2.2 KB | devkinetic |
| #3 | knurl_module.patch | 409 bytes | devkinetic |
Comments
Comment #1
johnthomas00 commentedJust confirmed with client of Windows XP with Firefox 3.6 and/or IE 8.
Comment #2
devkinetic commentedI'll take a peek at this. TBH I figured the old developer had it working right and didn't test it along with all the new stuff I redid.
Comment #3
devkinetic commentedArray issue, resolved with patch. Let me know how this works
Comment #4
devkinetic commentedCommitted to dev release.
Comment #5
johnthomas00 commentedThanks for working on this.
I tried the dev release and now the bookmarklet works, but the links are broken. When I click on a shortcut, I end up with this in the address bar
http://www.example.com/url/http
and a Page not found error.
Comment #6
devkinetic commentedIssue resolved, the URL needed to be encoded in the query string then decoded by drupal before submission. Please delete your shortcut and drag the new one onto your favorites/bookmarks.
Patch provided, and I also committed it to the dev release, give it some time to rebuild and you should be good to go.
Comment #7
devkinetic commentedComment #8
johnthomas00 commentedI am still getting http://www.example.com/url/http or http://www.example.com/url/https page not found when click on links. This result happens on a fresh install and whether the link was created via the bookmarklet or via http://www.example.com/knurl/create.
Perhaps someone else can confirm to be sure there is not something in my setup.
Thanks again!
Comment #9
devkinetic commentedYou sure you installed the development version? The issue had to do with escaping the URL which has been added in. That's also odd your getting that using the form as well.
I'll start from square one and do a fresh install of the development copy. Also please remember to delete your old bookmarket and use the new one, with the following at the end
+encodeURIComponent(location.href)Comment #10
johnthomas00 commentedYes,
1. installed dev version moments ago from http://ftp.drupal.org/files/projects/knurl-6.x-1.x-dev.tar.gz, and
2. used latest bookmarklet.
It could be my setup (CentOS, PHP 5.2, eaccelerator, Mysql 5.0, clean urls), but I am betting not at the moment.
Comment #11
devkinetic commentedI'm moving this month so I'll need some time to look at this, stay tuned.
Comment #12
devkinetic commentedjust an update, I plan on wrapping this little thing up soon.
Comment #13
devkinetic commentedFixed in 1.3 !