OSDN Git Service
(root)
/
feedblog
/
feedgenerator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3641a58
)
fixed bug upload filename contains "full-space".
author
elixirel
<elixirel@users.sourceforge.jp>
Sun, 17 May 2009 16:18:49 +0000
(
01:18
+0900)
committer
elixirel
<elixirel@users.sourceforge.jp>
Sun, 17 May 2009 16:18:49 +0000
(
01:18
+0900)
filemanager.rb
patch
|
blob
|
history
diff --git
a/filemanager.rb
b/filemanager.rb
index
4a15b80
..
3fd42b3
100644
(file)
--- a/
filemanager.rb
+++ b/
filemanager.rb
@@
-232,7
+232,7
@@
class Controller
filer.relpath_list = db["relpath_list"]
if (cgi["updata"].size <= UPLOADLIMIT)
- filer.upload(cgi["updata"], cgi["updata"].original_filename.gsub(/
/, "_"))
+ filer.upload(cgi["updata"], cgi["updata"].original_filename.gsub(/
( | )
/, "_"))
else
db["error"] = "ファイルの容量が大きすぎます!"
end