Displaying 20 results from an estimated 10000 matches similar to: "how to get unescaped value of request.url AS-IS?"
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
2008 May 13
1
Problem with odfWeave: Unescaped '<' not allowed in attributes values
Dear R users,
I am having a problem with odfWeave: when I run
odfWeave('notes.odt', 'notes_out.odt')
I get a bunch of errors that start with "Unescaped '<' not allowed in
attributes values" in post-processing:
<snip>
...
'content_1.xml' has been Sweaved
Removing content.xml
Post-processing the contents
Unescaped '<' not
2006 Jan 22
0
Escaping and Unescaping text in ERb
Instead of continuing the thread hijack, I''ve started a new one....
Douglas Livingstone wrote:
> 2006/1/22, Kevin Olbrich <kevin.olbrich@duke.edu>:
>>
>> You know, this has been bothering me a bit lately. If the point of
>> doing an html escape on the output is to prevent security problems,
>> wouldn''t it make sense for the default action on
2007 Oct 13
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c test/trace
libswfdec/swfdec_html_parser.c | 24 +++++++++++++++++-
libswfdec/swfdec_text_field.c | 2 +
libswfdec/swfdec_text_field_movie.c | 9 ++----
libswfdec/swfdec_text_field_movie_as.c | 3 ++
libswfdec/swfdec_xml.c | 5 +++
test/trace/xml-escape-5.swf |binary
test/trace/xml-escape-6.swf |binary
test/trace/xml-escape-6.swf.trace
2007 Oct 14
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h
libswfdec/swfdec_html_parser.c | 2 +-
libswfdec/swfdec_text_field.c | 32 +++++++++++++++++++++-----------
libswfdec/swfdec_text_field.h | 4 +++-
libswfdec/swfdec_text_field_movie.c | 6 ++++--
libswfdec/swfdec_text_field_movie_as.c | 12 ++++++------
libswfdec/swfdec_xml.c | 18 +++++++++---------
libswfdec/swfdec_xml.h
2007 Oct 31
0
5 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_audio.c libswfdec/swfdec_sound.c libswfdec/swfdec_xml.c
libswfdec/swfdec_as_object.c | 20 +++++++++++++-------
libswfdec/swfdec_audio.c | 2 +-
libswfdec/swfdec_sound.c | 20 +++++++-------------
libswfdec/swfdec_xml.c | 2 +-
4 files changed, 22 insertions(+), 22 deletions(-)
New commits:
commit cd8a1b3eb4192c51b5787f53071e17270b5d2cca
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Wed Oct 31 12:08:50 2007
2008 Jan 31
0
Cross Site Sniper 0.2 (stable)
I''m pleased to announce the release of Cross Site Sniper 0.2.
Cross Site Sniper is one more addition to the ever growing list of tools
that attempt to provide a convenient and DRY method to protect Rails
sites from Cross Site Scripting (XSS) attacks. There are many plugins
and tools out there that attempt to address this issue, but none of them
met my requirements. So, I created
2006 Jul 14
2
how to get builder 2.0 to escape attributes in rxml
I am using rxml to produce opml files and need to escape ampersands in
the attributes.
builder 2.0 docs found at http://builder.rubyforge.org/ show the
following
xml = Builder::XmlMarkup.new
xml.sample(:escaped=>"This&That", :unescaped=>:"Here&There")
xml.target! =>
<sample escaped="This&That"
2005 Dec 30
0
Unescaped selection options
Been having a tough time finding any info on this subject (somewhat
suprising actually). Looking thru the code, Rails automatically
html_escape''s all option values and while this is generally good, I have
some categories that have HTML embedded in them and therefore am looking
for a way to turn this off. So far I have found none and am writing my
own code to do this. If anyone knows
2006 Nov 22
1
to_absolute_uri typo in 0.6.3?
I just started using Mechanize, and started using Ruby about thirty
seconds before that, but one of the sites I''m scraping does a redirect
on form submission to a badly-formed relative URL:
index.cfm?action=bing&bang=boom=1|a=|b=|c= (etc.)
Interestingly, Mechanize 0.6.2 handled this OK, but in 0.6.3 this causes
a URI::InvalidURIError exception from URI.parse() in to_absolute_uri
2017 Jan 16
0
fts-solr: Returning 400 on searches; unescaped braces
Michael Welsh Duggan <mwd at md5i.com> writes:
> Using Debian, dovecot-solr 1:2.2.26.0-4, and solr-tomcat 3.6.2+dfsg-9, I
> am getting 400 errors when doing searches. Here is an example search
> query from dovecot that failed (captured with wireshark):
>
> Frame 23: 338 bytes on wire (2704 bits), 338 bytes captured (2704 bits) on interface 0
> Linux cooked capture
2018 Dec 26
1
Issue when building R-parched_2018-12-26
Hello.
Building R-patched from source on Win64 using current Rtools 3.5.0.4, I?m
getting the following notes indicating an extra left brace somewhere; or is
the problem on my end?
My installed Perl is Strawberry 5.28.0.1-64 bit.
Thank you,
Avi
(Sent from an iPhone, so my apologies if HTML also comes through)
------ Making HTML documentation ------
creating doc/manual/version.texi
creating
2007 Aug 07
0
Announce: X.509 certificates support in OpenSSH (version 6.0-International)
Today, I released a new version of "X.509 certificates support in
OpenSSH" ( http://roumenpetrov.info/openssh/ ).
Version 6.0 add following enhancements:
- Printable X.509 name attributes compared in UTF-8
Printable attributes are converted to utf-8 before to compare. This
allow distinguished name in "authorized keys" file to be in UTF-8.
- "Distinguished Name"
2008 Jul 06
2
Regular expressions: bug or misunderstanding?
I'm trying to write a gsub() call that takes a string and escapes all
the unescaped quote marks in it. So the string
\"
would be left unchanged, but
\\"
would be changed to
\\\"
because the double backslash doesn't act as an escape for the quote, the
first just escapes the second. I have the usual problems of writing
regular expressions involving backslashes which
2015 Jun 29
0
Re: URI Handling Patch
On Thu, Jun 25, 2015 at 06:44:50PM +0000, Gabriel Hartmann wrote:
> I have written a patch (please see attached) which fixes both of these bugs:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1092583
> https://bugzilla.redhat.com/show_bug.cgi?id=1232477
>
> By default, when saving a URI using xmlSaveUri it escapes everything in the
> URI. QEMU doesn't want anything
2016 Dec 19
3
fts-solr: Returning 400 on searches; unescaped braces
Using Debian, dovecot-solr 1:2.2.26.0-4, and solr-tomcat 3.6.2+dfsg-9, I
am getting 400 errors when doing searches. Here is an example search
query from dovecot that failed (captured with wireshark):
Frame 23: 338 bytes on wire (2704 bits), 338 bytes captured (2704 bits) on interface 0
Linux cooked capture
Internet Protocol Version 6, Src: ::1, Dst: ::1
Transmission Control Protocol, Src
2010 Jun 06
3
running passenger + nginx
hi guys,
Assuming I made some changes to the source code.
My production environment runs on passenger and nginx.
How do I restart passenger and nginx with minimal downtime?
Surely I can''t do a "w" on the terminal because a server will not
always be in zero load.
Would love to hear some recommendations.
PS- I have read on unicorn
2007 Dec 03
3
Underground Asterisk Command Set?
Hi People!
Is there an underground asterisk command reference
manual that the Gurus here share amongst themselves
only? :-)
The reason I ask is that sometimes I see mention of an
asterisk command and I scramble for my asterisk book
(pdf) to look it up but can't find it in there. For
example, I saw here last week people talking about the
Set() application with the "If" conditional
2007 Nov 02
0
2 commits - libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c
libswfdec/swfdec_xml.c | 10 ++++++----
libswfdec/swfdec_xml_node.c | 7 ++++---
2 files changed, 10 insertions(+), 7 deletions(-)
New commits:
commit 8890bee87d10d7ee5f6f42e7b594644dc0484ab3
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Fri Nov 2 12:31:13 2007 +0200
Fix couple of errors I just made, they broke XML support
diff --git a/libswfdec/swfdec_xml.c
2011 Mar 08
0
keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"
hi, there
rails: 2.3.8
machine os: Ubuntu 10.04 Lucid
I''m having some problems with my rails installation in one of my new
development machines.
I have installed all the gems in my config/environment.rb file.
When I now run either script/console or script/server, I have the
error of " `rescue in load_missing_constant'': uninitialized constant
Paperclip::Glue