srushti_kansagara's avatar

summernote editor give the Forbidden error on lorem paragraph

sorry, but i am new to laravel . i am using summernote editor at some place on my admin panel . in the developing mode i am able to add the lorem text in the editor and save it . but in the production when i try to add the lorem text and save the form it is telling me the error of Forbidden .

at first i thought that i did some mistake in my code but if i add other random paragraph which is not lorem then it is letting me save it . is it normal ?

0 likes
9 replies
jj15's avatar

That doesn't sound too normal. Are you able to share the relevant code for the controller and view?

srushti_kansagara's avatar

@jj15 here:

index.blade.php

controller.php

jayandholariya's avatar

Which method are you using to submit the form—GET or POST?

Have you included a CSRF token?

Additionally, ensure that the server is not blocking submissions containing potential spam keywords like 'lorem.'

Try submitting the form with a genuine description. Test it once using different text to verify if the issue persists.

srushti_kansagara's avatar

@jayandholariya i am submitting the data through POST method and i have also include the CSRF token in my form using @csrf... as long as it is not lorem it is working so it is okay i think

srushti_kansagara's avatar

@jayandholariya sorry to disturb you but can you tell me what is the best way to send the push notification to multiple devices in one request i know the way 'using TOPIC' but it is not suitable for my current situation . i need to use the FCM token but send() method will take too much time if there is large number of users

Please or to participate in this conversation.