Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
marketing_campaign_tracker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
marketing_campaign_tracker
Commits
040a5ad0a9e7
Commit
040a5ad0a9e7
authored
10 years ago
by
Florent Aide
Browse files
Options
Downloads
Patches
Plain Diff
remove images src tracking
parent
26e1a7b84f9e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
replace.py
+2
-1
2 additions, 1 deletion
replace.py
with
2 additions
and
1 deletion
replace.py
+
2
−
1
View file @
040a5ad0
...
...
@@ -70,7 +70,8 @@
return
'
img src=
"
%s/%s
"'
%
(
tracker_base
,
uid
)
res
=
html_href_re
.
sub
(
repl
,
html
)
return
html_imgsrc_re
.
sub
(
repl2
,
res
),
tracks
#return html_imgsrc_re.sub(repl2, res), tracks
return
res
,
tracks
if
__name__
==
'
__main__
'
:
url
=
"
http://some.org/a_3/super-script.php?uid=3&someval=4
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment