Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6614097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:17:51+00:00 2026-05-25T20:17:51+00:00

I have a routing pattern in which the last parameter is filled from a

  • 0

I have a routing pattern in which the last parameter is filled from a multiline input field. When I call the route without line break, everything works, but I get an error when I have a linebreak (which is escaped as %0A):

No route found for "GET /update/1/complete/Kommentar%3Daa%0Abb%7C&quot

The routing definition:

_update:
    pattern:   /update/{id}/{column}/{newvalue}
    defaults: { _controller: MyBundle:Auftrag:update, newvalue: ' ' }    
    requirements:
        id:  \d+   
        newvalue: ".+"

My controller definition is:

public function updateAction($id, $column, $newvalue) {
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T20:17:52+00:00Added an answer on May 25, 2026 at 8:17 pm

    you should be aware that according to the REST idea you don’t initiate a change via GET. For update you would use POST for example and then your newline-problem is solved.

    I also made the experience that urlencoded chars will get interpreted. For example a urlencoded slash gets interpreted as a path separator. Don’t know why, I guess it’s due to server settings at the end of the day. So the solution would be there somewhere.

    If you insist to use your way you could replace problem chars by combinations of “,”,”-“,”_”. but that would be just a hack. use POST instead for the transmitted data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom routing application that takes information for a route from google
In my routing I would like to have something like not found route handler.
Just one easy question about default parameter values in the routing. If I have
I have a symfony2 project and I would like to create route (prefix) which
I have a few routing issues with my ASP.NET MVC2 website and was wondering
My goal is to have the url routing as following: http://www.abc.com/this-is-peter-page http://www.abc.com/this-is-john-page What is
I'm trying out ASP.NET MVC routing and have of course stumbled across a problem.
I have to set some routing rules in my php application, and they should
I have a problem with a sample routing with the preview 5 of asp.net
I have read through the Rails docs for Routing , Restful Resources , and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.