BTCTaras / kristscape

The ComputerCraft web browser that works across servers
7 stars 6 forks source link

fixURL function doesnt work #14

Closed TheRockettek closed 8 years ago

TheRockettek commented 8 years ago

If i put in the url bar for example therockettek.kst, i look into the http log and it shows its trying to contact http://krist.ceriat.net/?a=therocket#at0 and this also happens on all the other urls where it breaks.

The line that causes this is name = url:sub(8,url:sub(8):find("/")-1)

However you can easly fix this by changing it to just name = url:sub(8,-2)

and it will work perfectly on any site :+1: