Opened 9 years ago

Closed 9 years ago

#39 closed defect (fixed)

Importing eastereggs schedule fails

Reported by: gregoa Owned by: gregoa
Priority: normal Milestone: confclerk 0.5.5
Component: database Version: confclerk 0.5.4
Keywords: Cc:

Description

Importing http://easterhegg.ch/schedule.xml fails (both with the released version and with what's in svn); but downloading and importing the saved file works.

Error: "Could not parse schedule: unexpected character"

(HTTP headers? content-type?)

[thanks again to XTaran]

Change History (4)

comment:1 Changed 9 years ago by gregoa

the error happens in src/sql/schedulexmlparser.cpp line 39

comment:2 Changed 9 years ago by gregoa

trivial cause: http://easterhegg.ch/schedule.xml redirects to https://easterhegg.ch/schedule.xml - and BOOM (the second URL works)

comment:3 Changed 9 years ago by gregoa

Owner: set to gregoa
Status: newaccepted

comment:4 Changed 9 years ago by gregoa

Resolution: fixed
Status: acceptedclosed

When a redirect occurs for the network request, we call importfromnetwork() again: r1435

Note: See TracTickets for help on using tickets.