RE: Wappush Contains Username/Password
"Mathieu Bruneau" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Well the username and password is passed in the "binary" sms resulted (as header apparently). That's where I believe it shouldn't be, since it's the part sent through the smsc connection. Let me know if I'm not clear enough :) Regards, ------- Mathieu Bruneau -----Original Message----- From: Stipe Tolj [mailto:[email protected]] Sent: Thursday, November 29, 2007 5:51 PM To: Mathieu Bruneau Cc: [email protected] Subject: Re: Wappush Contains Username/Password Mathieu Bruneau schrieb: > Here's the xml file I used for pap: > > <?xml version="1.0"?> > <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP//EN" > "http://www.wapforum.org/DTD/pap_1.0.dtd"> > <pap> > <push-message push-id="[email protected]" > deliver-before-timestamp="2008-10-31T06:45:00Z" > deliver-after-timestamp="2006-02-28T06:45:00Z" > progress-notes-requested="false"> > <address address-value="WAPPUSH=+56978555555/[email protected]"> > </address> > </push-message> > </pap> > > And the si: > > <?xml version="1.0"?> > <!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "http://www.wapforum.org/DTD/si.dtd"> > <si> > <indication href="http://random.url/" si-id="" action="signal-medium"> > Test message > </indication> > </si> > > The username/password are passed in the header of the request to kannel something like. > Authorization: Basic MD5HASHEDUserPass > > Let me know if you need anything else :) ok, got the point. Now the Authorization header is passed from the HTTP client in the multi-part HTTP POST call. But where is the header now passed where it doesn't belong to? Stipe ------------------------------------------------------------------- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ------------------------------------------------------------------- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.11/1161 - Release Date: 2007-11-30 12:12