Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 9415] summon could stand to have some sanity checking

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 9415] summon could stand to have some sanity checking
  • Date: Sun, 7 Aug 2005 16:47:18 -0700 (PDT)

http://bugs.sourcemage.org/show_bug.cgi?id=9415





------- Additional Comments From acedit AT armory.com 2005-08-07 16:47 -------
(In reply to comment #2)
> (In reply to comment #1)
> > The main problem is, wget doesnt recognize that as an error (and it
> > should IMO).
>
> They aren't going to be seen as errors because they are HTTP status code
> 200,
> which means the server said "this is the file you wanted, we are done".
> HTTP
> 200 is like a 0 exit code in shell.

In that case the url should be fixed (actually, in all these cases they should
be, and it's perfectly automatable to check for these problems and report them
as bugs automatically). Although nearly every case of this ive seen is 301 or
302. NOT 200. If they're giving 200 and an html file then thats just stupid.


In anycase, I'd rather not start trying to play guessing games based on file
extension. Id rather either use some simple heuristic or go for full
verification.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page