Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 10-27-2011, 08:34 PM   #1
katsu
Member
katsu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2011
Device: iPad,Kindle3
How do I suppress Stack Traces on HTTP 404 Error in the web browser?

Hi,
I have been installed Calibre on Windows.
Open to http://localhost:8080/some-wrong-url via FireFox browser.
then I get a StackTraces with 404 Error.

StackTrace is useful for developer.
but it may cause security problems.

Is there a way to hide the Stack Trace?
katsu is offline   Reply With Quote
Old 10-27-2011, 10:57 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,820
Karma: 5006091
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Since calibre is open source, a stack trace is hardly going to provide any information you cannot get from reading the calibre source code. Still, I've committed code to turn of the traces when the server is not running in debug mode.

Last edited by kovidgoyal; 10-27-2011 at 11:06 PM.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 10-30-2011, 09:12 PM   #3
katsu
Member
katsu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2011
Device: iPad,Kindle3
thank you so much!
katsu is offline   Reply With Quote
Old 11-06-2011, 11:25 PM   #4
katsu
Member
katsu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2011
Device: iPad,Kindle3
Quote:
Release: 0.8.25 [06 Nov, 2011]

Content server: Do not show tracebacks in HTML output when not running in develop mode
Thanks!
katsu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP Error 504 when fetch news from an intranet forceps Calibre 2 07-30-2011 12:01 AM
602 web browser nel PocketBook 8 06-14-2011 08:25 AM
Import failed Error:404 when attempting to import from Calibre to Stanza dvond Apple Devices 0 05-13-2011 03:00 PM
Classic CLassic Nook Web Browser error melimac Nook Developer's Corner 0 03-15-2011 07:36 PM


All times are GMT -4. The time now is 01:33 PM.


MobileRead.com is a privately owned, operated and funded community.