Displaying 20 results from an estimated 10000 matches similar to: "url parameter :id with slash (/) failed to route"
2006 Jul 07
0
Re: url parameter :id with slash (/) failed to route
Alex Wayne wrote:
>> Gary Lin wrote:
>> My routes.rb is something like
>> map.connect '':controller/:action/:id''
>> However, when a url request likes
>> http://xxx/user/category/a/b
>> However, :id has slash in it (a/b) will make rails fail to route.
>> (apache fail, webrick works fine somehow)
> Rails routes really
2008 Jul 06
2
How to Auto Add forward slash "/" when accessing a link/url through ProxyPass
Hi Friends,
I am using Centos 5.2 and using ProxyPass to access applications
running on other servers. Everything is working fine except for one of
the applications I need to auto add forward slash when any user tries
to access that application. For ex
ProxyPass /testdiary http://testdiary.example.com/
ProxyPassReverse /testdiary http://testdiary.example.com/
If somebody
2006 Aug 07
1
DirHandler in surplus slashing / unrequited unescaping
im using Mongrels to serve up /usr/portage/packages for other gentoo boxen. since i guess im the guinea pig with the DirHandler, ran into a couple issues:
first, the client showed no files in the remote binhost, turns out the DirHandler was adding a trailing "/" to every filename, presumably making the client think they were directories, not files. attached is a patch which fixes this
2006 Dec 30
0
Change I needed to make in to_absolute_uri for unescaped URL separator characters
Mechanize is great! It''s better than anything I was expecting to be out
there, and the syntax is really nice.
I had a bit of a problem though -- following URLs with commas. The code in
to_absolute_uri works great for spaces, but some pages I was working on had
URLs with unescaped commas that URI rejected when I tried to click() on them.
So I changed the first statement in
2009 Dec 13
2
how to replace a single backward slash with a double backward slash?
Dear R-helpers:
Hours ago, I asked how to replace a single forward slash with a double
backward slash and recieved great help. Thanks again for all the repliers.
In the meantime, I wonder how to replace a single backward slash with a
double backward slash?
e.g., I want change "c:\test" into "c:\\test"
I tried the following but does not work.
2006 May 30
1
Url encoding Help Pls!
Hi guys,
it''s me again, I want to come up with the following url:
www.mysite.com/webpage?myid=1
I keep coming up with the following url:
www.mysite.com/webpage%3Fmyid%3D1
require ''uri''
$myurl = URI.escape("webpage?myid=")
redirect_to(:action => $myurl + 1 )
what am I doing wrong?
I also tried
require ''cgi''
$myurl =
2009 Dec 13
1
how to replace a single forward slash with a double backward slash in a string?
Dear R-helpers.
Can someone kindly tell me how to replace a single forward slash with double
backward slash in a string?
i.e., from "a/b" to "a\\b"
Many thanks in advance.
-Sean
[[alternative HTML version deleted]]
2006 Mar 09
7
how to make two forms on the same page???
I can get the forms to be displayed, but i want to have only one
"create" button. i''ve tried everything i can think of...
--
Posted via http://www.ruby-forum.com/.
2006 Apr 20
1
URL encode & decode
I have a link:
<%= link_to ''delete'', :action => ''destroy'', :id => u(string_id) %>
Helper method ''u()'' can encode a string to URL encoding, but I don''t
know which method can decode it? I want to used in controller. I have
not seen it in Rails''s document.
Thanks,
- Li Jie
2016 Jan 18
1
How to share slash (root directory)
I am somewhat baffled by this and Googling for an answer has not given
me any joy. I do get a lot of hits from preachers saying don't do it but
either no answer was given or the answer refers to some distant past
version of Samba... So, before anyone jumps on me, I know what I am
wanting to do, and there is no risks involved. I am on a small SOHO
network running my own group of computers,
2007 Nov 28
1
IMAP --> Creating Folders --> trailing slash
Hello List,
i use Dovecot 1.0.7 for pop and imap on Suse Linux 10.1. I need a little
help in understanding something.
If i want to create a folder with outlook express or thunderbird which can
also create subfolders, then i have to create these folders with a trailing
slash.
folders created with trailing slash are in filesystem created als real
folders, "normal" folders are
2012 Jan 08
2
disable interpretation of trailing slash
Hello,
This is a feature request for a command-line option to disable special
interpretation of trailing slashes on source directories. I have been
using rsync for a couple of years now (what an awesome program!) and the
meaning of the trailing slash on a source is always the one aspect of
its syntax that slows me down and makes me check and re-check the manual
to ensure that I have remembered
2004 Sep 16
3
multiprocesor : bridge/router ?
hi,
does someone tried bridge and or router functionality of linux kernel on
multiprocessor system.
Does multiprocessor system increase network performance or give
ability to process higher traffic..
What about highest possible troughput someone have achieved ?
etc..
tia
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
2002 Nov 27
1
Trailing Slash Inconsistencies
Hello,
I am noticing inconsistencies when using a trailing slash on the source
directories in conjunction with the '--delete' option. In one instance
when using a trailing slash files get deleted from subdirectories in the
destination tree. In the other instance they don't. I am using rsync
2.5.5. The following are the scenarios:
Scenario 1
----------
*nix(src) ---> *nix(dest)
2011 Aug 03
2
strsplit and forward slash '/'
Hi All,
is there a way of using strsplit with a forward slash '/' as the splitting point?
For data such as:
1 T/T C/C 16/33
2 T/T C/C 33/36
3 T/T C/C 16/34
4 T/T C/C 16/31
5 C/C C/C 28/29
6 T/T C/C 16/34
strsplit(my.data[1,1], "/") # and any variation thereof
Error in strsplit(apoe[1, 1], "/") : non-character
2006 Mar 14
2
How to not display :id in link_to URL
Hello all.
I have a page which has a form on it. the page''s URL is
http://127.0.0.1:3000/Component/history and The form action is:
<%= start_form_tag :action => :history %>
<%= text_field_tag ''id'', "#{session[:component_criteria]}" || nil,
:class => ''mandatory'' %><br />
<%= submit_tag "Search", :class
2017 Dec 02
2
mmap() Error, Invalid Argument - Double slash in path?
I get a ton of these mmap() errors in the log. I noticed there's a
double slash before Maildir. Is this normal? Config error? Dovecot bug?
dovecot: imap(email at email.net): Error: mmap() failed with file
/shares/email/vmail/vmail1/email.net/e/m/a/email-2017.02.25.08.09.39//Maildir/dovecot.index.cache:
Invalid argument
I'm running dovecot version 2.2.22
Thanks
Eric
2010 Jun 19
1
linux/syslinux.c: Double slash question
Ever since commit b297348081ec40baed33e49fe5f46b54c0d7b164
(http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=commitdiff;h=b297348081ec40baed33e49fe5f46b54c0d7b164),
the statements that build the path for ldlinux.sys have contained '//'
instead of '/' as a path separator. Although it seems strange, it
shouldn't have any effect on functionality.
Is this in there because
2006 Aug 17
2
Weird routing error in 1.1.6 slash frozen on edge
So i have this route set up:
map.connect ''xml/download/:user/audio/:category/:file'', :controller =>
''xml'', :action => ''download''
I am sending the user through an xml controller as it is coming from an
RSS feed, the download action looks like this:
def download
episode = Episode.find(params[:episode])
episode.downloads
2006 Nov 04
0
page caching urls with space characters broken in webrick and mongrel
Page caching of urls with spaces in them using WEBrick and Mongrel is
broken in Edge Rails (and Rails 1.1.6, where I started). This is due
to the dispatch flow of control in both servers converting ''+'' in
requested paths into '' '' chars, whereas the page caching system writes
cache files for URLs with spaces in them out as encoded ''+''