Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range Violation #11

Open
brad-anderson opened this issue Nov 1, 2013 · 1 comment
Open

Range Violation #11

brad-anderson opened this issue Nov 1, 2013 · 1 comment

Comments

@brad-anderson
Copy link

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.

@s-ludwig
Copy link
Member

s-ludwig commented Dec 7, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants