-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
url greater than 255 chars are not saved (was: urls with redirection(s) silently fail to be downloaded) #681
Comments
Hi, |
here is a link coming from my ttrss instance: using the the ttrss wallabag plugin or pasting it in the search box of wallabag UI result in the same failure |
Well, I've been trying for 15 minutes with no success, but it works now. I guess it was a problem on MetroNews' side. Can you confirm it ? |
nope it does not work I did not check in details what wallabag was doing, but I guess I will have to get a closer look since you are not able to reproduce this issue |
Well, it didn't work at the beginning, as with the original Google URL and with the final MetroNews URL : http://www.metronews.fr/info/et-si-vous-controliez-vos-reves-grace-a-l-electricite/mnel!0B6VnlzEtMG6w/ but now they both work. I think they had issues on their side because once I got a 500 server error. |
2014-05-12 17:55:33: (mod_fastcgi.c.2676) FastCGI-stderr: DEBUG POCHE : storage type postgres 2014-05-12 17:55:50: (mod_fastcgi.c.2676) FastCGI-stderr: DEBUG POCHE : storage type postgres it seems to be an issue with postgresql "entries" table definition: url is limited to 255 characters while this url is 274. This is also the case for mysql, while the TEXT data type in sqlite does not seem to be limited. I guess there should not be any limit to url and title length so for postgresql and mysql, VARCHAR(255) should be replaced by TEXT |
Okay. I was using it with SQLite which has no character limitation, that's why. |
It depends on the redirection: if it's a 301 or 308 error code, then the final URL should be saved. |
That's totally right. |
Since it implies database changes, this goes to v2 (a upgrade script would have been required either). |
|
When sending wallabag a url that ends up to be a redirection (HTTP 3xx) to another url, it seems that wallabag does not follow the redirection, and page download fails silently wihout even a failure notice
The text was updated successfully, but these errors were encountered: