iliyantn / websmsdroid

Automatically exported from code.google.com/p/websmsdroid
0 stars 0 forks source link

cannot send to betamax: java error #203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>What steps will reproduce the problem?
I try to send a sms using the betamax connector.

>What is the expected output? What do you see instead?
I get an error.

>What version of the product are you using? On what operating system?
Latest dl from the market on HTC desire, android 2.1.

>Please provide any additional information below.

error message I get is:
betamax: java.lang.Illegal.Argument.Exception: Illegal character in query
at index 119:
https://www.voipcheap.com/myaccount/sendsms.php?username=xxxx&password=xxx&from=
+39xxx&to=+39xxx&text=hall

Any idea?

The Betamax credit is shown, so the auth. is ok.
My betamax username is like "vorname.nachname", maybe the "." is a problem?

Thanks.

Original issue reported on code.google.com by superdin...@gmail.com on 9 May 2010 at 11:37

GoogleCodeExporter commented 9 years ago
@jona: please check this

Original comment by felix.bechstein on 9 May 2010 at 11:59

GoogleCodeExporter commented 9 years ago

Original comment by felix.bechstein on 9 May 2010 at 12:00

GoogleCodeExporter commented 9 years ago
Ok, i can reproduce this by trying and acount with a lot of strange characters, 
like 
slashes, spaces, and so.

Original comment by jonagu...@gmail.com on 9 May 2010 at 1:05

GoogleCodeExporter commented 9 years ago
my account is "surname.lastname", it has a "." between it.
Do you think that you can handle this?

I have now installed also the fishtext plugin, this one works.
So it seems to be a issue with my username at Betamax and the connector.

Thanks for your time!

Original comment by superdin...@gmail.com on 9 May 2010 at 1:25

GoogleCodeExporter commented 9 years ago
@jona
if you run the connector by GET, you may just insert an urlencode() on all the 
fields
with userinput.

btw: i pushed some minor changes and the new API to my fork of the conenctor. 
please
merge it. the national2internationl thing should be fixed with this api. please 
test it.

Original comment by felix.bechstein on 9 May 2010 at 1:26

GoogleCodeExporter commented 9 years ago
ok, I'm working on it just now. 
Thanks

Original comment by jonagu...@gmail.com on 9 May 2010 at 1:29

GoogleCodeExporter commented 9 years ago
It should be working ok in 1.1.2 version, uploaded to market a few minutes ago.

Thanks for discovering this bug

Original comment by jonagu...@gmail.com on 9 May 2010 at 2:23

GoogleCodeExporter commented 9 years ago
Hi,

I updated the app from the market, but still get the same error.
Are you sure you upped the new version?

Original comment by superdin...@gmail.com on 9 May 2010 at 7:30

GoogleCodeExporter commented 9 years ago
I'm filtering all user input except from and to 
fields. Are you sending some strange char (for 
example a space) in this fields?

Original comment by jonagu...@gmail.com on 9 May 2010 at 7:47

GoogleCodeExporter commented 9 years ago
no, there are no spaces in the string. Also no extra characters.

Original comment by superdin...@gmail.com on 9 May 2010 at 8:38

GoogleCodeExporter commented 9 years ago
Can you try the version attached in this message, please?
Is the same as previous version, but "Urlencoding" also "from" and "to" fields.

If your problem would be in user/password fields, it should also fails with 
account 
balance... so the only cause I can see is this.

Please, try it and tell me.

Thanks.

Original comment by jonagu...@gmail.com on 9 May 2010 at 8:46

Attachments:

GoogleCodeExporter commented 9 years ago
Good morning,

this version now is working fine.

Thank you very much for having fixed this. You are doing all a great work.

Ciao

Original comment by superdin...@gmail.com on 10 May 2010 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by felix.bechstein on 14 May 2010 at 11:25