kartoza / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
http://geonode.org/
GNU General Public License v3.0
8 stars 17 forks source link

Change for proper SITEURL format in invitation email #505

Closed lucernae closed 5 years ago

lucernae commented 5 years ago

We need to strip base URL from '/' endings, because when it is used in the template, the variable are concatenated directly with relative url from Django reverse. This will avoid URL such as:

http://testing.geonode.kartoza.com//relative/url
lucernae commented 5 years ago

Small fix related with kartoza/docker-geosafe#36

codecov[bot] commented 5 years ago

Codecov Report

Merging #505 into 2.8.x-qgis_server will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@                Coverage Diff                 @@
##           2.8.x-qgis_server     #505   +/-   ##
==================================================
  Coverage              41.36%   41.36%           
==================================================
  Files                    403      403           
  Lines                  28950    28950           
  Branches                3671     3671           
==================================================
  Hits                   11974    11974           
  Misses                 16234    16234           
  Partials                 742      742
Impacted Files Coverage Δ
geonode/people/adapters.py 0% <ø> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9817ca2...139df59. Read the comment docs.