|
I may not even be referring to this the proper way so my apologies in advance. Our server logs are constantly showing us an encoded style of attack. An example is below....
http://somecompany.com/script.pl?var=%20%D1%EB (etc etc)
I am familiar with encoding...
Started by Nikki on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Programmatically, you can.
Www.albionresearch.com/misc/urlencode.php for doing quick encoding/decoding of a string.
|
|
I recently learned about PDF417 barcodes and I was astonished that I can still read the barcode after I ripped it in half and scanned only a fragment of the original label.
How can the barcode decoding be that robust? Which (types of) algorithms are used...
Started by DR on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Technically, you need seven points to describe this polynomial uniquely, ... .
To get the concept: suppose you have a polynomial in the power of 6 .
It is an oversampling technique.
I know that QR codes use Reed Solomon correction.
I don't know the PDF417.
|
|
Is it possible to disable decoding xml text content when parsing an xml file using Java? For example so " is returned as is instead of being converted to a quote
Effectively want the text content treated as if it was wrapped in a CDATA block
Started by objects on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
After all, these two xml snippets are exactly the same thing from the XML perspective, if " has been defined... .
Actually, that would be highly questionable to do.
KXML 2 has the Options expand-entity-ref and xml-roundtrip that would allow to do this .
|
Ask your Facebook Friends
|
Currently what I have a Linux application that was written using Xlib and I needed to add video playing capabilities into it.
What libraries would you recommend that I could use for video decoding and rendering that works well with Xlib?
Started by Seh Hui 'Felix' Leong on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Xine is probably the easiest (easier than FFmpeg, anyhow) without... .
MPlayer + XEmbed.
LibVLC.
FFmpeg.
Phonon (works best with Qt -based programs).
GStreamer (works best with glib -based programs).
Xine-lib.
The options are plentiful.
Ffmpeg or mplayer.
|
|
I want to understand how video and audio decoding works, specially the timing synchronization (how to get 30fps video, how to couple that with audio, etc.). I don't want to know ALL the details, just the essence of it. I want to be able to write a high...
Started by Helltone on
, 7 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
In the past i've had some time to work on decoding.
Website, i'd say you'll find what you need here.
|
|
A custom HTTP header is being passed to a Servlet application for authentication purposes. The header value must be able to contain accents and other non-ASCII characters, so must be in a certain encoding (ideally UTF-8).
I am provided with this piece...
Started by ebruchez on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The HTTPbis working group is aware of the issue.
However, there's a more basic reason why your code the proper decoding of the header values.
That's what the Servlet API should do.
decoding them.
|
|
The usual method of URL-encoding a unicode character is to split it into 2 %HH codes. ( \u4161 => %41%61 )
But, how is unicode distinguished when decoding? How do you know that %41%61 is \u4161 vs. \x41\x61 ("Aa")?
Are 8-bit characters, that require...
Started by Jonathan Lonowski on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
According to Wikipedia:
Current standard The generic URI syntax mandates that new URI schemes that provide for the representation of character data in a URI must, in effect, represent characters from the unreserved set without translation, and should ... .
|
|
I want to base64 encode data to put it in a URL and then decode it within my HttpHandler.
I have found that Base64 Encoding allows for a '/' character which will mess up my UriTemplate matching. Then I found that there is a concept of a "modified Base...
Started by Kirk Liemohn on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
///<summary> /// Base 64 Encoding.
That is handling URL safe Base64 encoding and decoding.
|
|
I'm writing a parser, and there is LOTS of text to decode but most of my users will only care about a few fields from all the data. So I only want to do the decoding when a user actually uses some of the data. Is this a good way to do it?
class LazyString...
Started by Paul Tarjan on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You'd need.
But "lazy" decoding sounds like premature optimization to me.
], 16)) # but decoding is builtin print r==s.decode('hex') # => True
As you can see your whole decoding is s.decode('hex') .
|
|
I'm trying to decode a WBXML encoded SyncML message from a Nokia N95. My first attempt was to use the python pywbxml module which wraps calls to libwbxml. Decoding the message with this gave a lot of <unknown> tags and a big chunk of binary within...
Started by J.D. Fitz.Gerald on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Those <Unknown> tags might....
I'm about halfway through writing my own pure-Python WBXML parser, but it's not yet complete enough to be useful, and I have very little time to work on it right now .
Funnily enough I've been working on the same problem.
|