Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

bug création de commentaires dans les articles

Featured Replies

Posté(e)

Bonjour,

J'ai un pb en postant des commentaires :
la requête POST /post-comment retourne une erreur 500
(page web avec <h1 class="error">Erreur.</h1>
<h2 class="error">Une erreur s’est produite lors du traitement de la requête.</h2>)

Testé sur plusieurs articles.
Firefox 50, avec adblock plus.
Cache vidé.

Même chose avec le signalement d'erreur, sur le POST de /Create

Test avec Chrome : Idem
Opérateur : Orange fibre.

Merci

Posté(e)
  • Auteur

J'ajoute les données de la requête xhr pour les commentaires (extraction au format curl de firefox) :

 

curl "http://www.nextinpact.com/post-comment" -H "Host: www.nextinpact.com" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0; .NET CLR 4.0.30319; ffco7) Gecko/20100101 Firefox/50.0" -H "Accept: text/html, */*; q=0.01" -H "Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3" --compressed -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "X-Requested-With: XMLHttpRequest" -H "Referer: http://www.nextinpact.com/" -H "Cookie: __cfduid=dddd692b8206f4490487c4edcf686e3851463346969; _pk_id.1.f0a2=cdb8b2f05197422a.1463346974.285.1479735295.1479733981.; inpactstore=EJ7foHCPzzCNQWK"%"2FCLuczaVKIUB0ITpZ5murvNEDQcJgELw402803t2OGwkmZO"%"2BCQ1IaWnaCgFiCKXeH0WoKxTgSB1p5fp17z2HrR1Ru8ltbuLN7mBPscjb0xzi2MG"%"2F4eOkzz3V2mcYlfxnTrZvjE05"%"2BKcM3tF4Qk"%"2F72F6JMa6unXuepcLquaY"%"2FLDUnVXvKwEXOpn5xArt4FkQDg"%"2F1MvRkLcFf5JUHsNuByWCFfLfBxX"%"2BIudFfirl3pzqWTdmB8u3addICV0OArR"%"2B4W9ZKb4Z2scu3XkmKrCN2VwlE13a2Kcldsuc02g0EZM1PfzuQLc2cxBWzmOsSseZWwkbmW1HKUwLZ8DZUMctqQ4JjYjUMWGpJ"%"2BxSmkbyztpuEkTYuGP0lWpH0e8Z9AgLropJEoIT1Llv4liCMVXuEjg5EKnLVg7QQVaAduB7PAul2mtoP2U332EZdg5OOr"%"2BPMB6ZKqF6Ub28OQZqbFBSMTOgkXjj"%"2BbC96seKInXYQ"%"2FxsnEFXsvugiMRoSVHVg7ll8jUv4g"%"2FYuse2HxNL"%"2BEiPLqcU"%"2BgpV"%"2BSKAfq1ItkDLUeScAV3O1StWDnPLvEac76GcOtjQdA2ldW1TYHWwKaP"%"2BMf"%"2BM18"%"2BqKDFwKvQ0CVYnG"%"2Fqk4KHQOlsWo5tSJ"%"2BssPonWU7zV8"%"2FGAQ"%"3D"%"3D; _ga=GA1.2.305999834.1473114117; ARRAffinity=5d58066452c48df15ff07a93c4ee4c676b01e30a5b097b721d4d4267180c0ff0; _pk_ses.1.f0a2=*" -H "Connection: keep-alive" --data "IdNews=102195&IdRelativeMaster=5780061&IdAbsoluteMaster=5780051&TextContent=+test"%"0D"%"0A"

 

Réponse :

HTTP/1.1 500 Internal Server Error
Date: Mon, 21 Nov 2016 13:36:11 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: private, s-maxage=0
Pragma: no-cache
Expires: -1
Set-Cookie: inpactstore=EJ7foHCPzzCNQWK%2FCLuczaVKIUB0ITpZ5murvNEDQcJ5Yey%2Bt%2FombulcxA9mi%2FFH1eI9S9hAB4v4dGzS2xxxUxpa0n9wQGjZZZpVV5VyorFQiJi6pMEK11pdMNkq9TEF%2B7%2Flc%2Fh8mjpnQhRm2T1YTKq3Zt1OulRiqmDoFFBElQ61zGG75xSHoHIawZHk1e7SvsNkGbF%2FBAE8mygwluS0bgMlLB0ez%2FfCrwqjubc6KhRnIvLGRIwPVWMFna%2B3pG9TYhQ1m3tcEaNAzudpA0JaERDD82Bnocz8El6hgISb%2FqIeYXaIjFPdAyvc6OCBEGaHp%2FHPGz9o3ONxumwyiKsXo%2F9LIuOXAXgJ6OTHXnlVIAz29hA0eljziwHVmBvp046caBJaYXCDq1AFUlhciYkgkzmabkg0IaaQ8QSX3TqbwUz887lRHwkoGOQJ7zlGEcqynL2kD1vMFnXLellwDIN%2BPtuI7m5E6UktYggoJc1iyaE826JWeX2KmqPyaCscRspXE2uUGC%2BQZEhZjsb5NZSYWCWxlltSmfKs7Zi5V8LBQpULLBtJrQXX0fc0d2LXUwfV7s93mMb6H1gup0%2FrJtKIAeiFwzcv%2F8z2JaVWpqVXd%2FWMX8hdnlsTNl4SNV9R7Frg1t3zmT5bdBfUn4ngI2Y2uQ%3D%3D; domain=.nextinpact.com; path=/; expires=Wed, 21-Dec-2016 13:36:11 GMT; HttpOnly
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Server: cloudflare-nginx
CF-RAY: 3054877930382744-FRA

Je ne met pas le contenu : c'est une page html clairement typée nextinpact avec l'erreur dans le corps (voir message précédent). Donc a priori pas une réponse typée cloudflare.

Modifié par Aloryen

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.