Opened 18 years ago
Closed 17 years ago
#797 closed Bug (invalid)
File upload problem when using tilde in path
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | SF Pending | Cc: |
Description
I often set up accounts with no resolved domainname, this will end up looking like http://an.I.P.Address/~username
However, the file uploads never seem to work without a resolved domainname, probably because of the tilde (since I expect it to handle IP-addresses properly). I could use the absolute path so the files will upload, but then they won't be usable (because an img-tag with an absolute src path doesn't work).
Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1626729&group_id=75348&atid=543653
Change History (4)
comment:1 Changed 18 years ago by
Reporter: | changed from Martin Kou to anonymous |
---|
I don't know if my bug is related to this one here, but I have a tilde in my server name and figured out that fcke cuts off the last letter of my local path (I haven't quite figured out how to set paths yet-that should also be made easier) say my upload script php/config.php is set to this: $ConfigUserFilesPath? = '/Sites/q2/wor8/grafik/' ; then in the test.html I see this:
However, the correct path would have been: /Users/myName/Sites/q2/wor8/grafik/image/ See, the e of myName has been cut off somewhere in the process of working with the string. I don't know maybe that's why I'm having so many problems setting up the filemanager.
Moved from SF. Original poster: Anonymous