[MC-9273] Whitelist is overwritten on start up to only have lowercase Created: 06/Feb/13 Updated: 04/Apr/16 Resolved: 22/Jan/14 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.7 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Seppi | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Ubuntu 12.04 32 bit |
||
| Issue Links: |
|
||||||||||||
| CHK: | |||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||
| Game Mode: | Survival | ||||||||||||
| Description |
|
When the server starts up, the whitelist is reformatted to only contain lowercase names. This is a problem when one is using http://www.minecraft.net/skin/<user>.png. Either the whitelist should not be overwritten or minecraft.net/skin/<user>.png ought to lowercase the input. |
| Comments |
| Comment by Galaxy_2Alex [ 22/Jan/14 ] |
|
This ticket is incomplete without the requested information, no response has been received within a reasonable time and we are assuming the issue has been resolved. If you are still experiencing this issue, we can reopen it at your request. |
| Comment by Tails [ 18/Mar/13 ] |
|
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. |
| Comment by Seppi [ 07/Feb/13 ] |
|
@Kumasasa I misread the second half of your post. This would be an excellent fix for both this ticket and |
| Comment by Seppi [ 06/Feb/13 ] |
|
@Kumasasa Good point. Would it be possible to have `minecraft.net/skin/<user>.png` convert to lowercase names then? |
| Comment by Seppi [ 06/Feb/13 ] |
|
@CubeTheThird That would be a good workaround, but it is an excessive solution to a simple problem, especially considering that you would have to loop it. |
| Comment by Kumasasa [ 06/Feb/13 ] |
|
The two issues are related: But if the game a) would compare the lowercase(playernam) against lowercase(entries of whitelist.txt), there would be no need to rewrite it lowercased and thus b) this issue would be co-fixed. |
| Comment by [Mod] CubeTheThird [ 06/Feb/13 ] |
|
I suppose that if the player hasn't logged in there isn't much one can do, but if they have you could do something like: $player=`grep -i $player server.log | head -n 1` |
| Comment by Seppi [ 06/Feb/13 ] |
|
That's a good idea for a workaround, but it doesn't include players who are on the white list that have not logged in, and then players that were removed from the white list but have logged in. Also, this bug doesn't have anything to do with https://mojang.atlassian.net/browse/MC-3834, please remove the link. |
| Comment by [Mod] CubeTheThird [ 06/Feb/13 ] |
|
Couldn't you just use the names in the server log? Those maintain their case. |
| Comment by Seppi [ 06/Feb/13 ] |
|
For third party scripts that want to use the whitelist. e.g.; <?php This only works for usernames that are lowercase. Here's a working example as well; https://github.com/josefnpat/minecraft_server/blob/master/www/index.php#L93 |
| Comment by Kumasasa [ 06/Feb/13 ] |
|
Of course does http://www.minecraft.net/skin/kumasasa.png not work, but http://www.minecraft.net/skin/Kumasasa.png does work, but what has this to do with the whitelist.txt ? |