Project

General

Profile

Actions

Defect #9784

open

strange behaviour if accessing rest api when not logged in

Added by Terence Mill over 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

*Precondition:
  • Authentication required is on
  • Enable REST web service is on
  • Al projects are not public

First test
call url http://server.m.redmine.org/issues.xml
Html pop up for authentification with username/password entry field raises. I enter valid data but dialog pops up again and again ..
As i hit Escape i get following

This page contains the following errors:

error on line 1 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.

Second Test:

Call url http://server.m.redmine.org/issues.xml&key=0874f14ff4da91700ba558ed81fc0405f672c13c return white blank site.

Third Test
Log into http://server.m.redmine.org and do again the First Test
Returns following:

<issues limit="25" type="array" offset="0" total_count="1">
<issue>
<id>1</id>
<project name="test" id="1"/>
<tracker name="Fehler" id="1"/>
<status name="Neu" id="1"/>
<priority name="Normal" id="4"/>
<author name="Redmine Admin" id="2"/>
<subject>test</subject>
<description>test</description>
<start_date>2011-12-13</start_date>
<due_date/>
<done_ratio>0</done_ratio>
<estimated_hours/>
<created_on>2011-12-13T01:21:30+01:00</created_on>
<updated_on>2011-12-13T01:21:48+01:00</updated_on>
</issue>
</issues>

No data to display

Actions

Also available in: Atom PDF