{"action":"created","issue":{"url":"https://api.github.com/repos/embedthis/appweb/issues/539","labels_url":"https://api.github.com/repos/embedthis/appweb/issues/539/labels{/name}","comments_url":"https://api.github.com/repos/embedthis/appweb/issues/539/comments","events_url":"https://api.github.com/repos/embedthis/appweb/issues/539/events","html_url":"https://github.com/embedthis/appweb/issues/539","id":112856040,"number":539,"title":"ROM file system support broken in multiple places","user":{"login":"rks2003","id":15252432,"avatar_url":"https://avatars.githubusercontent.com/u/15252432?v=3","gravatar_id":"","url":"https://api.github.com/users/rks2003","html_url":"https://github.com/rks2003","followers_url":"https://api.github.com/users/rks2003/followers","following_url":"https://api.github.com/users/rks2003/following{/other_user}","gists_url":"https://api.github.com/users/rks2003/gists{/gist_id}","starred_url":"https://api.github.com/users/rks2003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rks2003/subscriptions","organizations_url":"https://api.github.com/users/rks2003/orgs","repos_url":"https://api.github.com/users/rks2003/repos","events_url":"https://api.github.com/users/rks2003/events{/privacy}","received_events_url":"https://api.github.com/users/rks2003/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-22T17:52:18Z","updated_at":"2015-10-26T17:54:10Z","closed_at":"2015-10-26T17:54:10Z","body":"with Appweb 6.1 and earlier versions\r\n\r\n1) makerom.c is not included in appweb 5.x & 6.x (but in 3.x & 4.x)\r\n\r\n2) Compile error in httpLib.c, if ME_ROM is defined (missing return value while function should return an int):\r\n PUBLIC int httpSendOpen(HttpQueue *q) { }\r\n \r\n3) Appweb crashes after calling mprCreate in mprGetAbsPath, if ME_ROM is defined\r\nbecause fs is used while not initialized:\r\n```\r\n#if ME_ROM\r\n    result =  mprNormalizePath(path);\r\n    mprMapSeparators(result, defaultSep(fs));\r\n    return result;\r\n#elif CYGWIN\r\n```\r\n\r\n4) wrong validations of relativ/absolut path names in Windows (C:\\ expected) and Linux (/ expected), e.g. in httpSetFilename() while makerom does not support absolute paths \r\n\r\n5) On Linux, mprGetRelPath changes the path from \"index.html\" to something like \"../../../../../../index.html\" if ME_ROM is defined \r\n\r\n6) ROM hash table not working if romfiles.c contains multiple large files (results in file not found)\r\n"},"comment":{"url":"https://api.github.com/repos/embedthis/appweb/issues/comments/151226411","html_url":"https://github.com/embedthis/appweb/issues/539#issuecomment-151226411","issue_url":"https://api.github.com/repos/embedthis/appweb/issues/539","id":151226411,"user":{"login":"embedthis","id":168175,"avatar_url":"https://avatars.githubusercontent.com/u/168175?v=3","gravatar_id":"","url":"https://api.github.com/users/embedthis","html_url":"https://github.com/embedthis","followers_url":"https://api.github.com/users/embedthis/followers","following_url":"https://api.github.com/users/embedthis/following{/other_user}","gists_url":"https://api.github.com/users/embedthis/gists{/gist_id}","starred_url":"https://api.github.com/users/embedthis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embedthis/subscriptions","organizations_url":"https://api.github.com/users/embedthis/orgs","repos_url":"https://api.github.com/users/embedthis/repos","events_url":"https://api.github.com/users/embedthis/events{/privacy}","received_events_url":"https://api.github.com/users/embedthis/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T17:54:10Z","updated_at":"2015-10-26T17:54:10Z","body":"Checked in now."}}