• R/O
  • SSH
  • HTTPS

tenarai: 提交


Commit MetaInfo

修訂83 (tree)
時間2008-04-18 23:01:34
作者junkikuchi

Log Message

updated.

Change Summary

差異

--- trunk/lib/tenarai/cgi/query.rb (revision 82)
+++ trunk/lib/tenarai/cgi/query.rb (revision 83)
@@ -17,7 +17,7 @@
1717 end
1818
1919 def decode(s)
20- s.to_s.split(/[&;]/).inject(Query.new) do |ret, q|
20+ s.to_s.split(/[&;]\s*/).inject(Query.new) do |ret, q|
2121 key, val = q.split('=')
2222 ret[CGI.decode(key)] = CGI.decode(val)
2323 ret
--- trunk/config.rb (revision 82)
+++ trunk/config.rb (revision 83)
@@ -44,4 +44,4 @@
4444 ],
4545 }
4646
47-#require 'config_local'
47+require 'config_local'
--- trunk/webapp/Widget/Attach/Form.rb (revision 82)
+++ trunk/webapp/Widget/Attach/Form.rb (revision 83)
@@ -38,9 +38,8 @@
3838 file.name = File.basename(val[:filename])
3939 file.content_type = val[:content_type]
4040 file.filename = File.basename(val[:filename])
41+ FileUtils.cp(val[:tmpfile].path, attached_path(file.id))
4142 file.save
42-
43- FileUtils.cp(val[:tmpfile].path, attached_path(file.id))
4443 end
4544 end
4645
Show on old repository browser