Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
c2411859
Commit
c2411859
authored
Oct 30, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore meaningless / in the end of URL.
parent
2e084439
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_checkPromiseMailServer.xml
...ortal_skins/erp5_promise/Alarm_checkPromiseMailServer.xml
+2
-2
bt5/erp5_promise/bt/revision
bt5/erp5_promise/bt/revision
+1
-1
No files found.
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_checkPromiseMailServer.xml
View file @
c2411859
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
\n
\n
portal = context.getPortalObject()\n
portal = context.getPortalObject()\n
mailhost = portal.MailHost\n
mailhost = portal.MailHost\n
promise_url = portal.getPromiseParameter(\'external_service\', \'smtp_url\')\n
promise_url = portal.getPromiseParameter(\'external_service\', \'smtp_url\')
.rstrip(\'/\')
\n
\n
\n
if promise_url is None:\n
if promise_url is None:\n
return\n
return\n
...
@@ -69,7 +69,7 @@ if mailhost.smtp_uid:\n
...
@@ -69,7 +69,7 @@ if mailhost.smtp_uid:\n
else:\n
else:\n
auth = \'\'\n
auth = \'\'\n
\n
\n
url = "%s://%s%s:%s
/
" % (protocol, auth, mailhost.smtp_host, mailhost.smtp_port)\n
url = "%s://%s%s:%s" % (protocol, auth, mailhost.smtp_host, mailhost.smtp_port)\n
\n
\n
active_result = ActiveResult()\n
active_result = ActiveResult()\n
\n
\n
...
...
bt5/erp5_promise/bt/revision
View file @
c2411859
22
23
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment