Sign in to follow this  
Krow

In-game Bad HTTP Response

Recommended Posts

Hello, I was searching info in the ingame wiki when I had '[' mistyped in the search, which resulted in the following message:

 

Failed to open http://www.wurmpedia.com/index.php?title=Special:Export/[
java.io.IOException: Server returned HTTP response code: 400 for URL: http://www.wurmpedia.com/index.php?title=Special:Export/[

 

I tested it further then and I found out that this bad response happens with:  [ , { , ] , } , [] , {} (those are the characters I tested after that I stumbled with that). The error was reported to a GM and I was advised to put it here in the forums. Probably the input will have to be sanitized in another way, I don't really know.

Share this post


Link to post
Share on other sites
44 minutes ago, Krow said:

Hello, I was searching info in the ingame wiki when I had '[' mistyped in the search, which resulted in the following message:

 

Failed to open http://www.wurmpedia.com/index.php?title=Special:Export/[
java.io.IOException: Server returned HTTP response code: 400 for URL: http://www.wurmpedia.com/index.php?title=Special:Export/[

 

I tested it further then and I found out that this bad response happens with:  [ , { , ] , } , [] , {} (those are the characters I tested after that I stumbled with that). The error was reported to a GM and I was advised to put it here in the forums. Probably the input will have to be sanitized in another way, I don't really know.

 

Hi @Krow

 

I did a bit of research on MediaWiki which is who we run our wiki through and it turns out that you got that response because [, {, ], }, [], {} cannot be used in wiki article titles. When I clicked the link you provided in the above OP it took me to this page which furthered my notion that the previously stated characters are invalid character types for wiki article pages. 

 

I believe this is what the error means. I will bring it up with the other team members and see what they thing next time I chat with them. Thanks for the report and if you have any questions please post them below.

 

Thanks, 

Zachariah 

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this