Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Attachment bug

Asked Modified Viewed 2,957 times
J
Jelle Mees
J
  • Junior Member, joined since
  • Contributed 29 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
asked
Junior Member

I added the "Gbx" filetype on 'System Settings' -> 'Forum' and my visitors are still not able to upload .Gbx files.

The filesize is not the problem because the limit is 1.5MB while .Gbx files are never bigger then 250kb.

Test is yourself, download this file and try to upload it to your fusion website:
http://www.pc-gids.info/Websites/Endl...llenge.Gbx
Edited by Jelle Mees on 30-08-2008 19:25,
0 replies

10 posts

M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

Could be the double dots in the file name which could be interpreted as a double extension which some hackers might use to try to uplaod malicious scripts to the server. Try to replace the first dot by an underscore (_).
Edited by muscapaul on 30-08-2008 19:58,
0 replies
J
Jelle Mees
J
  • Junior Member, joined since
  • Contributed 29 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

99.9% of all .Gbx files have multiple dots in it. Renaming the files is not an option. Other solution???
0 replies
S
SiteMaster
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums
answered
Senior Member

Quote

I added the "Gbx" filetype on 'System Settings' -> 'Forum' and my visitors are still not able to upload .Gbx files.

must be lowercase ,.gbx

Quote

Could be the double dots in the file name which could be interpreted as a double extension which some hackers might use to try to uplaod malicious scripts to the server. Try to replace the first dot by an underscore (_).

it works fine with that solution

Quote

99.9% of all .Gbx files have multiple dots in it. Renaming the files is not an option. Other solution???

Other solution, hhmm zip it other than that i don't think there is any other solution
0 replies
J
Jelle Mees
J
  • Junior Member, joined since
  • Contributed 29 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

No solution? There must be some reason why PHPFusion does not accept filenames with multiple dots while phpbb, php-nuke, simplemachines and all other do accept it.

Should I go to the modding forums?
0 replies
S
SiteMaster
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums
answered
Senior Member

Quote

Jelle Mees wrote:
No solution? There must be some reason why PHPFusion does not accept filenames with multiple dots while phpbb, php-nuke, simplemachines and all other do accept it.

Should I go to the modding forums?


i think muscapaul answered that question in his post why you can't do this in PF
0 replies
J
Jelle Mees
J
  • Junior Member, joined since
  • Contributed 29 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

There definitly is a bug. Even when I remove all dots and when I add .Gbx and/or .gbx to the list, users still can't upload .gbx files.
Edited by Jelle Mees on 31-08-2008 00:06,
0 replies
S
SiteMaster
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums
answered
Senior Member

Quote

Jelle Mees wrote:
There definitly is a bug. Even when I remove all dots and when I add .Gbx and/or .gbx to the list, users still can't upload .gbx files.


well on my test site with PF7 it works
i added .gbx
renamed the Endless_Domination.Challenge.Gbx to Endless_Domination_Challenge.Gbx
and then it works

Quote

Even when I remove all dots

you only need to remove the first dot not the last dot, if you do that the file has no .gbx extension
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

Testing attachment.
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

Testing attachment.
0 replies
M
muscapaul
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
answered
Veteran Member

You defnitely cannot have more than one dot in the file name or extensions with that are not upper or lower case. If you make the extension .gbx and add that to the list of allowed files types you will be okay. See the present attachment. BTW: The .gbx for this site has already been removed.
Edited by muscapaul on 31-08-2008 09:18,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 10 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

M
M
Paul

Time flies like an arrow, fruit flies like banana (Groucho Marx)

Sites: Diptera.info (site owner); Online-Keys.net (site owner); Sciomyzidae.info (site co-owner); muscapaul.com (defunct; site owner)
  • Veteran Member, joined since
  • Contributed 1,075 posts on the community forums.
  • Started 8 threads in the forums
J
J
  • Junior Member, joined since
  • Contributed 29 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
S
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet