Can't sync feeds - using a bad URL
bor opened this issue · 2 comments
bor commented
I use nginx+php-fpm with some rewrite rules (taken from owncloud wiki)
and catch this issue
the log:
[24/Jul/2013:08:49:29 +0300] "GET /index.php/apps/news/api/v1-2/folders?format=json HTTP/1.1" 200 1077 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)" "-"
[24/Jul/2013:08:49:29 +0300] "GET //index.php/apps/news/api/v1-2/feeds?format=json HTTP/1.1" 200 3375 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)" "-"
as you can see the las entry started with '//'
this is cause the error for me, because not correct handling by rules
The error: HTML page with "Automatic logon rejected! ..." content, but not a JSON as expected.
With one '/' it return JSON as expect.
Could you please do simply fix? Just use correct URL with '/' (one) symbol at start.
David-Development commented
Yes I'm going to fix it. I think I know where the problem is.
David-Development commented
Should be fixed in the next release ;-)