jetti777Ltd / mochiweb

Automatically exported from code.google.com/p/mochiweb
Other
0 stars 0 forks source link

mochiweb_util.erl:81 calls undef function string:join/2 #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Basically, from my knowledge, no string:join function exists in erlang, and
results in runtime errors when visiting pages other than "/".

Solved by changing string:join  to  lists:flatten

Original issue reported on code.google.com by heavyhen...@gmail.com on 8 Aug 2008 at 2:03

GoogleCodeExporter commented 8 years ago
Priority should be High

Original comment by heavyhen...@gmail.com on 8 Aug 2008 at 2:04

GoogleCodeExporter commented 8 years ago
Actually string:join/2 was added in R12B-0 iirc. 
http://www.erlang.org/doc/apps/stdlib/notes.html search for OTP-6671

Original comment by david.r...@gmail.com on 8 Aug 2008 at 2:34

GoogleCodeExporter commented 8 years ago
Okay it seems this was a bug in my current erlang implementation:
http://forum.trapexit.org/viewtopic.php?t=13885&sid=dfc474343de6b7bbc02302d8ced5
d308

Original comment by heavyhen...@gmail.com on 8 Aug 2008 at 2:52

GoogleCodeExporter commented 8 years ago

Original comment by matthew....@gmail.com on 11 Aug 2008 at 6:17