You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by dhenze <dh...@gmail.com> on 2011/09/18 20:54:40 UTC

Chenillekit onEvent mixin does not use Secure Protocol

I do have a page using the Chenillekit OnEvent mixin to update a select with
cities depending on the entered postcode in a textfield. 

So far this was working fine, but with the upgrade to T5.2.6 from T5.1.5
this stopped working on our live environment (all pages are served via
https) with the problem obviously being the request issued by CK onEvent to
port 80 but not 443. This seems to be regarded as a cross site request and
the POST is translated into a OPTIONS request.

Does anyone know how to force CK onEvent mixin to regard the protocol or how
to tell Tapestry to treat OPTIONS request as a POST request?

Daniel

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Chenillekit-onEvent-mixin-does-not-use-Secure-Protocol-tp4816663p4816663.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Chenillekit onEvent mixin does not use Secure Protocol

Posted by dhenze <dh...@gmail.com>.
Some further details:

1. The request when issued from the https version (NOT WORKING):

### Apache log ###

"OPTIONS /partnersuche/user/profileedit.postcodetextfield:internalevent
HTTP/1.1" 302 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8)
AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1"

### Tomcat log ###

2011-09-18 21:01:50.0741 [ERROR] ajp-8009-1
org.apache.tapestry5.ioc.Registry Access is denied
2011-09-18 21:01:50.0742 [ERROR] ajp-8009-1
org.apache.tapestry5.ioc.Registry Operations trace:
2011-09-18 21:01:50.0742 [ERROR] ajp-8009-1
org.apache.tapestry5.ioc.Registry [ 1] Triggering event 'internalevent' on
user/ProfileEdit:postcodetextfield
2011-09-18 21:01:50.0742 [ERROR] ajp-8009-1
org.apache.tapestry5.ioc.Registry [ 2] Triggering event 'blur' on
user/ProfileEdit:postcodetextfield


2. und here from plain old http (ALL GOOD):

### Apache log ###

"POST /partnersuche/user/profileedit.postcodetextfield:internalevent
HTTP/1.1" 200 127 "http://88.198.107.174/partnersuche/user/profileedit"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML,
like Gecko) Chrome/14.0.835.163 Safari/535.1"

### Tapestry log ###

2011-09-18 21:03:28.0117 [INFO] ajp-8009-1 xxx.pages.user.UserProfileEdit
#################### country: DE postcode: 15366
2011-09-18 21:03:28.0165 [INFO] ajp-8009-1 org.hibernate.stat.Statistics
HQL: null, time: 47ms, rows: 2
2011-09-18 21:03:28.0165 [INFO] ajp-8009-1 xxx.pages.user.UserProfileEdit
[['Hoppegarten', 'Hoppegarten'], ['Neuenhagen', 'Neuenhagen']]
2011-09-18 21:03:28.0166 [INFO] ajp-8009-1
xxx.services.AppModule.TimingFilter Request time: 56 ms


--
View this message in context: http://tapestry.1045711.n5.nabble.com/Chenillekit-onEvent-mixin-does-not-use-Secure-Protocol-tp4816663p4816696.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org