--
You received this message because you are subscribed to the Google Groups "IMS Developer Mailing List" group.
To post to this group, send email to ims...@googlegroups.com.
To unsubscribe from this group, send email to ims-dev+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ims-dev?hl=en.
Hi Carlos,
We wrote mir to be an LTI provider and consumer. If you look at the code in http://mir.codeplex.com/ you can get an idea of how to implement. The oauth piece is in there.
Bryan Holland
LearnGauge, LLC
Phone (517) 639-0224
Cell (517) 281-9155
Fax (866) 213-7298
--
Antoni Bertran Bellido
3&Punt Solucions Informàtiques SLL
935325991 - 935325992
C.Aragó 390, àtic 3
08013 Barcelona
www.tresipunt.com
Tel 935325991
Mob 677410818
Fax 935325992
Aquest missatge pot contenir informació confidencial, en propietat o legalment protegida i està destinada únicament per l'ús de la persona destinataria. Si vostè no és la persona destinataria d'aquest missatge, per la present se'l comunica que no ha d'emprar, difondre, copiar de cap manera, ni emprendre cap acció en relació amb ella. Si vostè ha rebut aquest missatge per error, per favor li preguem que l'esborri, així com qualsevol còpia del mateix i notifiqui aquest fet al remitent.
Este mensaje puede contener información confidencial, en propiedad o legalmente protegida y está destinada únicamente para el uso de la persona destinataria. Si usted no es la persona destinataria de este mensaje, por la presente se le comunica que no tiene que utilizar, difundir, copiar de ninguna manera, ni emprender ninguna acción en relación con ella. Si usted ha recibido este mensaje por error, por favor le rogamos que lo borre, así como cualquier copia del mismo y notifique este hecho al remitente.
I tried it with Moodle and Sakai and the signatures were fine - but the characters were wrong.
There is clearly a bug somewhere - but switching to Base-64 is not the right way to fix it otherwise everyone goes interoperable.
I am going to guess that somewhere in each of these code bits, I am not getting the characters properly encoded. The key is to figure out why or where Moodle and Sakai are loosing their way. I am so not an expert on sending non ASCII data in forms. I will look around a bit and try to learn - any help is welcome.
I am 99% sure the problem is *not* OAuth's ability to handle Spanish characters - but instead it is a flaw in my sample code - either the code that accepts user input - or the code that makes the auto-submit form or the code that ultimately displays the data in my test harness.
PDF's attached.
/Chuck
Antoni Bertran Bellido
3&Punt Solucions Informàtiques SLL
935325991 - 935325992
C.Aragó 390, àtic 3
08013 Barcelona
www.tresipunt.com
Tel 935325991
Mob 677410818
Fax 935325992
Aquest missatge pot contenir informació confidencial, en propietat o legalment protegida i està destinada únicament per l'ús de la persona destinataria. Si vostè no és la persona destinataria d'aquest missatge, per la present se'l comunica que no ha d'emprar, difondre, copiar de cap manera, ni emprendre cap acció en relació amb ella. Si vostè ha rebut aquest missatge per error, per favor li preguem que l'esborri, així com qualsevol còpia del mateix i notifiqui aquest fet al remitent.
Este mensaje puede contener información confidencial, en propiedad o legalmente protegida y está destinada únicamente para el uso de la persona destinataria. Si usted no es la persona destinataria de este mensaje, por la presente se le comunica que no tiene que utilizar, difundir, copiar de ninguna manera, ni emprender ninguna acción en relación con ella. Si usted ha recibido este mensaje por error, por favor le rogamos que lo borre, así como cualquier copia del mismo y notifique este hecho al remitente.
user_id=admin (ASCII) context_id=123 (ASCII) context_title=a�a (UTF-8)I don't know if the problem is this UTF-8, I'm using embedded database of sakai. Is it possible???
Antoni Bertran Bellido
3&Punt Solucions Informàtiques SLL
935325991 - 935325992
C.Aragó 390, àtic 3
08013 Barcelona
www.tresipunt.com
Tel 935325991
Mob 677410818
Fax 935325992
Aquest missatge pot contenir informació confidencial, en propietat o legalment protegida i està destinada únicament per l'ús de la persona destinataria. Si vostè no és la persona destinataria d'aquest missatge, per la present se'l comunica que no ha d'emprar, difondre, copiar de cap manera, ni emprendre cap acció en relació amb ella. Si vostè ha rebut aquest missatge per error, per favor li preguem que l'esborri, així com qualsevol còpia del mateix i notifiqui aquest fet al remitent.
Este mensaje puede contener información confidencial, en propiedad o legalmente protegida y está destinada únicamente para el uso de la persona destinataria. Si usted no es la persona destinataria de este mensaje, por la presente se le comunica que no tiene que utilizar, difundir, copiar de ninguna manera, ni emprender ninguna acción en relación con ella. Si usted ha recibido este mensaje por error, por favor le rogamos que lo borre, así como cualquier copia del mismo y notifique este hecho al remitente.
--
You received this message because you are subscribed to the Google Groups "IMS Developer Mailing List" group.
To post to this group, send email to ims...@googlegroups.com.
To unsubscribe from this group, send email to ims-dev+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ims-dev?hl=en.
<Error Sakai BLTI TOOL.png>
Antoni Bertran Bellido
3&Punt Solucions Informàtiques SLL
935325991 - 935325992
C.Aragó 390, àtic 3
08013 Barcelona
www.tresipunt.com
Tel 935325991
Mob 677410818
Fax 935325992
Aquest missatge pot contenir informació confidencial, en propietat o legalment protegida i està destinada únicament per l'ús de la persona destinataria. Si vostè no és la persona destinataria d'aquest missatge, per la present se'l comunica que no ha d'emprar, difondre, copiar de cap manera, ni emprendre cap acció en relació amb ella. Si vostè ha rebut aquest missatge per error, per favor li preguem que l'esborri, així com qualsevol còpia del mateix i notifiqui aquest fet al remitent.
Este mensaje puede contener información confidencial, en propiedad o legalmente protegida y está destinada únicamente para el uso de la persona destinataria. Si usted no es la persona destinataria de este mensaje, por la presente se le comunica que no tiene que utilizar, difundir, copiar de ninguna manera, ni emprender ninguna acción en relación con ella. Si usted ha recibido este mensaje por error, por favor le rogamos que lo borre, así como cualquier copia del mismo y notifique este hecho al remitente.
Antoni,This could be because of Sakai 2.7.1 - I did make an improvement with Sakai yesterdayThat was more explicit about UTF-8. SO try to reproduce this with one of the Sakai nightly servers atJust make an account. I used one of those servers and made an account with the "n-squiggle" character and also put it else where in the launch data.I made this little screen cast that walks through things working.Tell me what I am doing right or wrong. Also, did it work with Moodle? If this works with Sakai trunk and not 2-7, I can probably get the latest code pushed back into the 2-7-x branch./Chuck
On Feb 7, 2011, at 12:01 PM, Antoni Bertran wrote:
Hello today I tryed with Sakai 2.7.1 with BLTI support (latest of trunk) from source code.Then I tryed with "ñ" versus http://www.imsglobal.org/developers/BLTI/tool.php and I get errorAnd I get this error:user_id=admin (ASCII) context_id=123 (ASCII) context_title=a�a (UTF-8)I don't know if the problem is this UTF-8, I'm using embedded database of sakai. Is it possible???
Regards,
The problem can be:
(a) With the generated HTML from the consumer that contains the form submission
(b) With how the browser interprets the form page from the consumer as it submits it to the provider
(c) With how the provider interprets the incoming post data with respect to encoding
(d) With how the provider indicates encoding on the page it displays
(e) How the browser interprets the page from the provider
If the signature fails, it is likely because of a problem a-c.
If the signature succeeds and the data looks bad it is likely because of a problem in c-e
If the signature succeeds and the data looks bad, an alternate explanation is that somehow a-c are broken but in the same way. The consumer generates no UTF data but the provider detects the encoding so the data is matches across the transaction but is somehow garbled.
Some of this is hard to debug because it depends on which browser. ANd some browsers have better debugging of this than others.
/Chuck