Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - about upload files with components
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

about upload files with components

 Post Reply Post Reply
Author
haj282 View Drop Down
Newbie
Newbie
Avatar

Joined: 10 May 2003
Location: China
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote haj282 Quote  Post ReplyReply Direct Link To This Post Topic: about upload files with components
    Posted: 10 May 2003 at 9:01am

For example, I upload a file named "asiagame[1][1].rar"

but the link change to http: //.../upload/asiagame11.rar

so when I click the link , I can't open the uploaded file

It show me "The page can't be find."

I wonder how can I deal with this ?

I have tested two of the file components:Dundas Upload and AspSimpleUpload

They are all like what I said,What can I do ? Thx!



Edited by haj282
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2003 at 10:25am
Square brackets are removed from file names for security reasons, you will have to rename the file before you upload it.
Back to Top
Mattblack View Drop Down
Groupie
Groupie
Avatar

Joined: 21 January 2003
Location: United Kingdom
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mattblack Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2003 at 7:38pm

Bruce, bringing this back into the light.

Im having the same problem with files and images uploaded.  Is there any way of stoping the brackets being removed?  Mine doesnt like normal brackets, not just square ones.  Its nothing to do with the uploading for me though, i could insert and image called image.jpg and it would work, but image(1).jpg doesnt.  It also removes brackets from URL links, not just images.  How can i get around this?

Cheers,

Matt

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 29 December 2003 at 7:15am
You can't use () or [] and a few other things in image and file links, the reason for this is that it allows hackers to enter XXS which can do things like hang the users OS's or browser, redirect to other sites, etc.
Back to Top
Mattblack View Drop Down
Groupie
Groupie
Avatar

Joined: 21 January 2003
Location: United Kingdom
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mattblack Quote  Post ReplyReply Direct Link To This Post Posted: 29 December 2003 at 7:22am

No worries.

Do you have a definitive list of characters that are removed?

Also, can you disable the feature?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 29 December 2003 at 7:41am
Have a look at the formatLink function in the functions_filters.asp file
Back to Top
Mattblack View Drop Down
Groupie
Groupie
Avatar

Joined: 21 January 2003
Location: United Kingdom
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mattblack Quote  Post ReplyReply Direct Link To This Post Posted: 29 December 2003 at 1:28pm

Bruce,

I'm using 6.34.  I never managed to migrate to version 7.  The problem for me was that ive changed loads of code and also the style, so it was hard to get the changes accross, i like 6.34 anyhow.

Which file does the conversion in 6.34? 

Ta

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 29 December 2003 at 1:30pm
Not even sure if there is any convertion in 6.34 as it is very old now and no longer supported as you should upgrade to the latest version just for security reasons as there are a number of known security holes in 6.34
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.