AnthoDingo / pwm

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

SMS Gateway URL checking too strict #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I set new SMS Gateway URL, containing alternative port:
http://host.domain.td:7003/domain/sem/SMSService_1_0

What is the expected output? What do you see instead?
I expect PWM to accept setting, instead it says the URL is not valid and I can 
not continue.

What version of PWM are you using?
SVN rev 269

Original issue reported on code.google.com by mrva...@gmail.com on 17 Oct 2011 at 10:12

Attachments:

GoogleCodeExporter commented 9 years ago
Should be fixed. The regex was incorrect. \d or \\d does not seem to work in 
Java, like in perl :-( replaced by [0-9].

Original comment by menno.pi...@gmail.com on 17 Oct 2011 at 9:04