Opened 11 years ago
Closed 11 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 11 years ago by
comment:2 Changed 11 years ago by
trivial cause: http://easterhegg.ch/schedule.xml redirects to https://easterhegg.ch/schedule.xml - and BOOM (the second URL works)
comment:3 Changed 11 years ago by
Owner: | set to gregoa |
---|---|
Status: | new → accepted |
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
When a redirect occurs for the network request, we call importfromnetwork() again: r1435
Note: See
TracTickets for help on using
tickets.
the error happens in src/sql/schedulexmlparser.cpp line 39