Europace - behind the scenes
  • Home
  • Impressum
  • Datenschutz

apache

Einblicke, Gedanken, Ideen, Veranstaltungen unserer Kollegen, die Europace entwickeln

Lazy consensus vs explicit voting
innersource

Lazy consensus vs explicit voting

Imagine the following situation: You would like to drive a change in the gh#innersource repository. You already have commit access. Typically you’d make the change, post it as a pull request and wait until someone has time to review and approve. (German version below) There is another way that we typically choose when the change is relatively uncontroversial: In the original pull request, indicate that the model for the change is a lazy consensus model where the pull request is kept open for a defined number of days - and if nobody objects, it will get merged after this period is passed.

  • Isabel Drost-Fromm
    Isabel Drost-Fromm
Isabel Drost-Fromm 20 January 2020 • 4 min read
apache

Apache RewriteRule - Rewriting URLs With Already Encoded QueryStrings

Recently we renamed a URL which was publically available. The system uses Apache httpd, so it was quiet easy to create a RewriteRule: RewriteRule ^/oldname/(.*) /newname/$1 [R,L] Unfortunately that didn’t work as expected. A URL like myserver/oldname?myprop=name with spaces will be encoded to myserver/oldname?myprop=name%20with%20spaces. With the above RewriteRule the rewritten URL will be myserver/oldname?myprop=name%2520with%2520spaces. It got encoded two times!. To fix this, you need the right keywords and Google. Searching for mod_rewrite url encode revealed that adding the NE flag (for No Encoding) does the trick:

  • leif
    leif
leif 6 March 2014 • 1 min read
Europace - behind the scenes © 2020
Latest Posts Twitter Hugo Casper3 by Jonathan Janssens