Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid url relative to '...' #14

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 8 comments
Closed

Invalid url relative to '...' #14

GoogleCodeExporter opened this issue Apr 6, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

Rewritten Images throw a warning in the apache error log.

[Thu Nov 04 11:49:56 2010] [warn] 
[1104/114956:WARNING:net/instaweb/util/google_message_handler.cc(32)] 
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABklBMVEWztb
UAAAAAAAAAAACytLSxs7PcDyH2Axn0Bx31Bx3zCh/yDiPwEyjwFSjvFSntGi3tGy6ipKSipaWsrq6sr6
+usLCusbGxs7OxtbWztrayt7evu7qxu7qwvLuuwcCryMWsycaqysiqzcr///+rrq6tr6+tsLDm5+jo6e
np6ur29vbuGSyrrq2srq6rr6+rsbDe3+De3+Hi4+Pj5OTk5ef+///pABDtAA3rABHsABLsABbvABWrra
3tARbuAxnxCR7wEyfxFSntGy7tHTDtIDHz9PTu7+/w8fLr7O3tHzLXLz7sLD7wLT7dP031NUbuQVD0Q1
LtTFzvTVvJbHTwY3DyY3D3YnC7kJSjpqX0eYSjqqq5oKHuhpCssbCrtbOrtrWrt7Wqt7avuLimwL7yl6
Cpwb/zmqP8oqvJ1tXxyM3/y9Df4OHk5eTp6enq6+zo7ezq7u7o9fTu8vHy9fXw9vbp+vrz9vb29/f4+P
nu//34+Pr4+vv2/Pzz/v3w///3///8/f34///5///9/f38///9//8a36QGAAAAI3RSTlMAMwAjAAC+AA
AAAAAAAAAA3sDApqfqrO8AAAAAAAAAAAAAAEKkePEAAADjSURBVHheRchjc8RQHEbxm2R3a9t4bpylUd
u2bdvu9+4/2870vDkzP1amuDnnFpdLnCyVjL+Oi37FDZ//0O/DHLTilHAEgkfBABbOcVrqILAQUlU1hL
2BCJZtaIKm67p2ibEovI6KSoKTPursenwQ3vLqWoIeu4v7pU6sVNWnEfTaXb10NR9sN2RkE3RTN8/7ia
n2xcycPALDMG6fXkcntlpa28x8goe7x/ePnVj/9O6sy+xgHJ9v319D8flwGJuSIDAF1ExyxN5qXXouK5
C5Z31yeGPNw5XCmsYsJgn/SaIo/gCiQTIwFo7+sAAAAABJRU5ErkJggg==: Invalid url 
relative to 'http://sub.mydomain.de/test.php'



What version of the product are you using (please check X-Mod-Pagespeed
header)?
On what operating system?
Which version of Apache?
Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.5 with
          Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8k

X-Mod-Pagespeed 0.9.0.0-128
Cache-Control   max-age=0, no-cache, no-store

Which MPM?
mpm/prefork


Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

HTML file is a simple test file just containing one img tag. Also the img 
dimension was not added to the code.


Original issue reported on code.google.com by solariz...@gmail.com on 4 Nov 2010 at 11:01

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

Could you please attach the HTML file? We have not seen this issue before.

Was the original URL a data: URL?

Original comment by sligocki@google.com on 4 Nov 2010 at 11:30

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

As I said, just a test file I attached it. Also I add the pagespeed.conf file.

The Installation is running on a local Test Apache. First i thought it`s a 
matter of using https:// but it`s not. Because if I disable SSL and just use 
the plain http:// call same problem occurs.

The local Host is serving at the local domain www0.lan > 192.168.1.6 which 
resolves through a virtual apache host:


<VirtualHost 192.168.1.6:80>
  ServerName www0.lan
  ServerAlias inv.lan
  DocumentRoot /www/web/invoice/htdocs
  CustomLog /var/log/apache2/invoice.access.log combined
  ErrorLog /var/log/apache2/error.log
  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
  LogLevel warn
</VirtualHost>

Original comment by solariz...@gmail.com on 4 Nov 2010 at 12:41

Attachments:

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

Additional note, if I look to the pagespeed statistics it`s a bit strange 
because actually it seems only doing image inlining but no CSS or other things:


resource_fetches: 0
total_page_load_ms: 22771
page_load_count: 104
cache_extensions: 65
not_cacheable: 0
css_file_count_reduction: 0
css_filter_files_minified: 0
css_filter_minified_bytes_saved: 0
css_filter_parse_failures: 1
css_elements: 0
image_inline: 41
image_rewrite_saved_bytes: 1218
image_rewrites: 10
javascript_blocks_minified: 0
javascript_bytes_saved: 0
javascript_minification_failures: 0
javascript_total_blocks: 0
url_trims: 0
url_trim_saved_bytes: 0
resource_404_count: 0
slurp_404_count: 0
serf_fetch_request_count: 1831
serf_fetch_bytes_count: 16156611
serf_fetch_time_duration_ms: 28218395
serf_fetch_cancel_count: 0

Original comment by solariz...@gmail.com on 4 Nov 2010 at 12:51

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

Btw. the system_test.sh gives me a PASS but the error.log is full of warnings 
and notices.

Original comment by solariz...@gmail.com on 4 Nov 2010 at 2:20

Attachments:

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

I see the same issue. This 'warn' message gets logged for me for any IMG that 
is not from the configured base URL (either because it has been inlined by 
mod_pagespeed itself or because it is referrencing another URL). It doesn't 
seem to hurt; it just fills up the log files really badly.

Original comment by fxres...@gmail.com on 4 Nov 2010 at 6:27

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

Original comment by sligocki@google.com on 5 Nov 2010 at 3:17

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

Original comment by jmara...@google.com on 9 Nov 2010 at 10:35

  • Changed state: Fixed
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

Original comment by sligocki@google.com on 17 Nov 2010 at 12:52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.