vibenews icon indicating copy to clipboard operation
vibenews copied to clipboard

Range Violation

Open brad-anderson opened this issue 12 years ago • 1 comments
trafficstars

I was typing a post on the dub forums and realized I wasn't logged in so I went to do so and got the following Internal Server Error:

500 - Internal Server Error

Internal Server Error

Internal error information:
[email protected](273): Range violation
----------------
./vibenews(_d_array_bounds+0x26) [0x826fba]
./vibenews() [0x667a25]
./vibenews(void vibenews.web.WebInterface.showPostArticle(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x113) [0x66449b]
./vibenews(void vibe.http.router.URLRouter.handleRequest(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x179) [0x6790e9]
./vibenews(bool vibe.http.server.handleRequest(vibe.core.stream.Stream, immutable(char)[], vibe.http.server.HTTPServerListener, ref vibe.http.server.HTTPServerSettings, ref bool)+0x16c8) [0x66e8b0]
./vibenews(void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener)+0x143) [0x66d123]
./vibenews(void vibe.http.server.listenHTTPPlain(vibe.http.server.HTTPServerSettings, void delegate(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)).void doListen(vibe.http.server.HTTPServerSettings, vibe.http.server.HTTPServerListener, immutable(char)[]).void __lambda89(vibe.core.net.TCPConnection)+0x2c) [0x6696cc]
./vibenews(extern (C) nothrow void vibe.core.drivers.libevent2_tcp.onConnect(int, short, void*).void ClientTask.execute()+0x2d6) [0x686bce]
./vibenews(void vibe.core.core.CoreTask.run()+0xf2) [0x694b32]
./vibenews(void core.thread.Fiber.run()+0x2a) [0x858a62]
./vibenews(fiber_entryPoint+0x61) [0x85896d]
[(nil)]

It did successfully log me in though. I couldn't reproduce trying the same steps over again.

brad-anderson avatar Nov 01 '13 18:11 brad-anderson

Just to not forget: The issue is that the page for making a post is called as ".../post?group=...", but after submitting the form for the first time, it's just ".../post" with the "group" parameter being in the POST body instead. When the used logs in now, it tries to redirect to ".../post" and since there is no POST body anymore, the group parameter is now missing. The second issue is that it would actually be nice to keep the written text, too.

s-ludwig avatar Dec 07 '13 08:12 s-ludwig