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

Can't sync feeds - using a bad URL #96

Closed
bor opened this issue Jul 24, 2013 · 2 comments
Closed

Can't sync feeds - using a bad URL #96

bor opened this issue Jul 24, 2013 · 2 comments

Comments

@bor
Copy link

bor commented Jul 24, 2013

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
Copy link
Member

Yes I'm going to fix it. I think I know where the problem is.

@David-Development
Copy link
Member

Should be fixed in the next release ;-)

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