similar to: escaping html?

Displaying 20 results from an estimated 600 matches similar to: "escaping html?"

2006 Aug 11
6
css - location of files.
Hi all. I have the following scenario. http://myapp/site1 is using <%= stylesheet_link_tag ''myapp_standard'' %> to define the stylesheet for layout, I have myapp_standard.css in /public/stylesheets and it works fine. However, in the stylesheet I define a image to use for my site background. eg: html, body{ background-image: url(mysite_background.jpg); padding-top:
2006 Aug 09
5
off - subversion
hi guys question on usage of subversion. just set up the repository, removed database settings, logs, tmp etc from being committed. we are two developers and a designer working on the project. do not have the luxury of a separate development and production server. (cost of bandwidth in 3rd world countries!) figured out how to allow everyone involved to checkout latest version and check in
2006 Aug 08
2
images
hi all starting out building a new rails app, working with a designer who gives me templates in html format with images(logos etc.) in an images folder. need to convert these to rhtml. what is the best practice to deal with images, flash etc? where in the directory structure should i copy these media files and how do i reference them in the rhtml template file? ty.
2006 Aug 10
5
Major security vulnerability in the latest Rails 1.1.5
Hi, I think there is still a major vulnerability exists in the latest Rails 1.1.5. The problem is in the routing.rb file and safe_load_paths method. Because of the erroneous regexp it is possible to perform a DOS attack on any rails application. To reproduce: 1. start your application 2. use this url: http://localhost:3000/debug Routing module will load standard debug.rb script which stops a
2006 Jul 26
4
MasterView rails-optimize (x)html friendly template engine - Release 0.2.4
MasterView is a rails-optimized (x)html friendly template engine plugin that provides another option to the existing rails view templates (rhtml and rxml). The main idea is to provide a template engine that would provide all the power of layouts, partials, and rails helpers but still be editable/styleable in a WYSIWYG editor. It was also a major goal that the syntax of these attribute directives
2007 Mar 14
4
what happened to asterisk wiki???
Hi im trying access the www.voip-info.org website since yesterday but i cant open it. google search diaplay correct search results but it doesnt open when i click the link. it displays a message about tcp error which says -->"There was a problem communicating with the server". I dont know what the problem is. I just want to ask whether their server is down or not and is everybody
2007 Sep 05
5
RSpec for dummies screencast?
Does anyone know of any RSpec screencasts for dummies, like me :) I have a Java background, but I have never written a java test in my life. I''ve never learned about TDD or BDD so I''m totally blank on everything that has anything to do with testing and stuff. Where should I start?!? ;) Christian... --~--~---------~--~----~------------~-------~--~----~ You received this
2006 May 22
2
Recommended SIP phones?
I am dying here with linphone (not sure if it is crap software or just me being an idiot) but out of the box debian installations of two linphones fail with a "Got SIP response 415 "Unsupported Media Type" back from 192.168.1.3" Can anybody recommend a particular SIP soft phone that broadly satisfies the following criteria? 1. Run on linux. 2. Simple to use and setup. 3. Is
2006 Oct 16
3
lda
I'm trying to do a linear discriminant analysis on a dataset of three classes ("Affinities"), using the MASS library: > data.frame2 <- na.omit(data.frame1) > > data.ld = lda(AFFINITY ~ ., data.frame2, prior = c(1,1,1)/3) Error in var(x - group.means[g, ]) : missing observations in cov/cor What does this error message mean and how can I get rid of it? Thanks! Pieter
2006 May 16
6
Netherlands zaptel.conf
Hello, I have configured my TDM01B Card (1 FXO Port ) as follows (below) but it will not pick up an incoming call. Any suggestions/tools to see what the problem is? I have looked at zttool where this line changes but I don't understand what it means (The last digit changed from 0 to 1) Total/Conf/Act: 4/ 1/ 1 /etc/zaptel.conf fxsks=4 loadzone=nl defaultzone=nl
2008 Jun 24
2
Invalid argument while mounting
I get the following error when trying to mount: Nothing changed (in any case not that I know of). I get the same error from both nodes. Please assist. # mount /u02 mount.ocfs2: Invalid argument while mounting /dev/sdd1 on /u02. Check 'dmesg' for more information on this error. /etc/fstab: /dev/sdd1 /u02 ocfs2 _netdev,datavolume,nointr 0 0
2006 Jul 12
2
(Re-)designing a CMS
Hello Rails-list, I''m working on a CMS in Rails. The company that I work for currently uses a CMS written in PHP, and I want to mimick it in Rails, and improve along the way. The PHP variant works with templates like this: In the root of the webdir, there are the template files, named cms_news.html for example. This page contains custom tags, in the form of definitions and
2004 Dec 22
2
Matching Caller ID against a database of knowncallers
Hi, I use a simple script to query a 2 table's in a MySQL database. This is called using AGI. The first one has got about 200 rows in it each one is a caller ID number and a name. If I get a match then I set CLI to "name <number>" The second table has over 10,000 rows in it. It has all the telephone exchanges in the UK in it with the prefixes for the exchange. If I
2019 Oct 03
2
Home Directory Creation
> Tried your config here and it works. My debug log looks as follows for > the first brief IMAP session: > > Oct? 3 22:28:56 drieka dovecot: imap-login: Login: > user=<diederik-jan>, method=PLAIN, rip=::1, lip=::1, mpid=21949, > secured, session=<OtQjbweUvpIAAAAAAAAAAAAAAAAAAAAB> > Oct? 3 22:28:56 drieka dovecot: imap(diederik-jan): Debug: Added > userdb
2015 Oct 15
3
How can I set the advertised value of MTU for virbr0 interface?
Hi all, I want to set the advertised value of MTU for virbr0 interface on a Fedora 21 host to 1454 to accommodate the installation of new VMs for testing purposes. The aforementioned host is an OpenStack VM actually, which explains the need for a lower than 1500 MTU. I noticed Pieter Hollants' patch to set dhcp-option=<number>,"<value>" for an interface, but
2009 Sep 15
4
Protecting against kernel NULL-pointer derefs
All, Given the amount of NULL-pointer dereference vulnerabilities in the FreeBSD kernel that have been discovered of late, I've started looking at a way to generically protect against the code execution possibilities of such bugs. By disallowing userland to map pages at address 0x0 (and a bit beyond), it is possible to make such NULL-pointer deref bugs mere DoS'es instead of code
2012 Dec 17
4
Samba3 joining W2k3 as member server
Hi list, I have tried with all my might to get a samba3 server (Ubuntu 12.04.1 LTS) to join a Windows 2003 domain as a member server, without any luck. I have used,from memory, the official way of doing this (aka, from the samba.org website). No matter what settings I use in smb.conf, the server always joins as a domain controller. This doesn't seem to break the domain how ever. All I am
2010 Apr 14
3
tincd without root privileges
hey, is there a way to run tinc on a (linux) box, with a public ip, but on which i don't have root privileges ? the server just connects nodes (behind natted firewall) & relays their traffic, so no need for tap/tun interface on the box itself. ptr_ -- http://www.L45.be/voidpointer 0493 52 5009
2005 Feb 26
4
Managing lot''s of VPN''s
Dear Shorewall list, I need to connect a firewall to various remote sites (VPN''s) at the same time, but i do not have control of any of the remote subnets and/or the given IP address: The firewall is just a client in all of the VPN''s. So, as i see it, the remote subnets (mostly rfc1918) are doomed to get into conflict when they happen to be connected at the same time. For
2010 Jun 28
4
Error 400 : could not find template
Hello, I did make a stupid fault: not commiting changes to version control :-( After the installation of puppet-dashboard, I added a recipe to add report = true to puppet config files on clients. Now all Puppet clients don''t update because of an error... What can be the various reasons for an ''400'' error?? I guess it has something to do with rights. Jun 28 09:52:36 pm