pombreda / base2

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

MiniWeb.save miss #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Save a local copy of MiniWeb into a folder with a space character its name
2. Open the local MiniWeb copy in your browser
3. Click the save button in MiniWeb

What is the expected output? What do you see instead?
The original file should be overwritten. Instead a new folder(s) will be
created and the file saved there.

Please use labels and text to provide additional information.
The problem is that the MiniWeb.save method will use the URI encoded
location.pathname from the browser to save the file thus creating a new
path. The attached file corrects the issue using the decodeURI function.
Changes on lines 117-120.

Original issue reported on code.google.com by mr.fyed@gmail.com on 15 Nov 2009 at 4:11

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the fix!

Original comment by dean.edw...@gmail.com on 15 Nov 2009 at 11:51